store profile (only) on close)

This commit is contained in:
Matias Alejo Garcia 2014-12-04 12:25:21 -03:00
parent 799ef2b7e5
commit 02cd687f53
1 changed files with 5 additions and 1 deletions

View File

@ -316,7 +316,11 @@ angular.module('copayApp.services')
root.signout = function() {
if ($rootScope.iden) {
$rootScope.iden.close();
$rootScope.iden.store({
noWallets: true
}, function() {
$rootScope.iden.close();
});
}
};