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;
|
return;
|
||||||
}
|
}
|
||||||
$timeout(function() {
|
go.walletHome();
|
||||||
go.walletHome();
|
|
||||||
$rootScope.$apply();
|
|
||||||
});
|
|
||||||
|
|
||||||
});
|
});
|
||||||
}, 100);
|
}, 100);
|
||||||
|
|
|
||||||
|
|
@ -1410,12 +1410,7 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
||||||
self.tab = 'walletHome';
|
self.tab = 'walletHome';
|
||||||
});
|
});
|
||||||
|
|
||||||
$rootScope.$on('Local/ValidatingWallet', function(ev, walletId) {
|
|
||||||
ongoingProcess.set('validatingWallet', true);
|
|
||||||
});
|
|
||||||
|
|
||||||
$rootScope.$on('Local/ValidatingWalletEnded', function(ev, walletId, isOK) {
|
$rootScope.$on('Local/ValidatingWalletEnded', function(ev, walletId, isOK) {
|
||||||
ongoingProcess.set('validatingWallet', false);
|
|
||||||
|
|
||||||
if (self.isInFocus(walletId)) {
|
if (self.isInFocus(walletId)) {
|
||||||
// NOTE: If the user changed the wallet, the flag is already turn off.
|
// 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;
|
var walletId = client.credentials.walletId;
|
||||||
|
|
||||||
$log.debug('ValidatingWallet: ' + walletId + ' skip Device:' + skipDeviceValidation);
|
$log.debug('ValidatingWallet: ' + walletId + ' skip Device:' + skipDeviceValidation);
|
||||||
$rootScope.$emit('Local/ValidatingWallet', walletId);
|
|
||||||
$timeout(function() {
|
$timeout(function() {
|
||||||
client.validateKeyDerivation({
|
client.validateKeyDerivation({
|
||||||
skipDeviceValidation: skipDeviceValidation,
|
skipDeviceValidation: skipDeviceValidation,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue