fix reload in cordova

This commit is contained in:
Matias Alejo Garcia 2014-12-06 21:07:26 -03:00
commit 984a7a6651
6 changed files with 22 additions and 14 deletions

View file

@ -328,10 +328,12 @@ angular.module('copayApp.services')
};
root.signout = function() {
$rootScope.signingOut = true;
if ($rootScope.iden) {
$rootScope.iden.store({
noWallets: true
}, function() {
$rootScope.signingOut = false;
$rootScope.iden.close();
});
}