refactor backup flag process
This commit is contained in:
parent
9f42ae3891
commit
a9c4762ef7
9 changed files with 77 additions and 90 deletions
|
|
@ -183,12 +183,7 @@ angular.module('copayApp.controllers').controller('createController',
|
|||
|
||||
|
||||
if (self.seedSourceId == 'set') {
|
||||
$timeout(function() {
|
||||
$log.debug('Backup done');
|
||||
storageService.setBackupFlag(wallet.credentials.walletId, function(err) {
|
||||
$log.debug('Backup stored');
|
||||
});
|
||||
}, 1);
|
||||
profileService.setBackupFlag(client.credentials.walletId);
|
||||
}
|
||||
$state.go('tabs.home')
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue