Fix validation wallet spinner
This commit is contained in:
parent
0dae7b9b82
commit
fb5aa65d15
3 changed files with 1 additions and 10 deletions
|
|
@ -176,10 +176,7 @@ angular.module('copayApp.controllers').controller('createController',
|
|||
});
|
||||
return;
|
||||
}
|
||||
$timeout(function() {
|
||||
go.walletHome();
|
||||
$rootScope.$apply();
|
||||
});
|
||||
go.walletHome();
|
||||
|
||||
});
|
||||
}, 100);
|
||||
|
|
|
|||
|
|
@ -1410,12 +1410,7 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
|||
self.tab = 'walletHome';
|
||||
});
|
||||
|
||||
$rootScope.$on('Local/ValidatingWallet', function(ev, walletId) {
|
||||
ongoingProcess.set('validatingWallet', true);
|
||||
});
|
||||
|
||||
$rootScope.$on('Local/ValidatingWalletEnded', function(ev, walletId, isOK) {
|
||||
ongoingProcess.set('validatingWallet', false);
|
||||
|
||||
if (self.isInFocus(walletId)) {
|
||||
// NOTE: If the user changed the wallet, the flag is already turn off.
|
||||
|
|
|
|||
|
|
@ -139,7 +139,6 @@ angular.module('copayApp.services')
|
|||
var walletId = client.credentials.walletId;
|
||||
|
||||
$log.debug('ValidatingWallet: ' + walletId + ' skip Device:' + skipDeviceValidation);
|
||||
$rootScope.$emit('Local/ValidatingWallet', walletId);
|
||||
$timeout(function() {
|
||||
client.validateKeyDerivation({
|
||||
skipDeviceValidation: skipDeviceValidation,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue