fix signingOut flag
This commit is contained in:
parent
9ff600ba49
commit
396fbda5d9
1 changed files with 6 additions and 5 deletions
|
|
@ -320,10 +320,11 @@ angular.module('copayApp.services')
|
||||||
};
|
};
|
||||||
|
|
||||||
root.signout = function() {
|
root.signout = function() {
|
||||||
$rootScope.signingOut = true;
|
|
||||||
if ($rootScope.iden) {
|
if ($rootScope.iden) {
|
||||||
|
$rootScope.signingOut = true;
|
||||||
|
$rootScope.iden.close(function() { // Will trigger 'closed'
|
||||||
$rootScope.signingOut = false;
|
$rootScope.signingOut = false;
|
||||||
$rootScope.iden.close(); // Will trigger 'closed'
|
}); // Will trigger 'closed'
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue