store profile if dirty after validation
This commit is contained in:
parent
b948996af8
commit
580b8e64fa
2 changed files with 3 additions and 2 deletions
|
|
@ -1413,7 +1413,9 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
|||
});
|
||||
|
||||
$rootScope.$on('Local/ValidatingWalletEnded', function(ev, walletId, isOK) {
|
||||
profileService.storeProfileIfDirty();
|
||||
if (self.isInFocus(walletId)) {
|
||||
// NOTE: If the user changed the wallet, the flag is already turn off.
|
||||
ongoingProcess.set('validatingWallet', false);
|
||||
self.incorrectDerivation = isOK === false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue