set backupFlag after showing the words
This commit is contained in:
parent
4c155b7895
commit
ee04b7f318
5 changed files with 13 additions and 9 deletions
|
|
@ -5,9 +5,11 @@ angular.module('copayApp.controllers').controller('wordsController',
|
|||
this.getMnemonic = function() {
|
||||
var fc = profileService.focusedClient;
|
||||
var words = fc.getMnemonic();
|
||||
console.log('[backup.js.7:words:]',words); //TODO
|
||||
if (!words) return;
|
||||
|
||||
return words.split(' ');
|
||||
};
|
||||
|
||||
this.done = function() {
|
||||
$rootScope.$emit('Local/BackupDone');
|
||||
};
|
||||
});
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ angular.module('copayApp.controllers').controller('backupController',
|
|||
return ;
|
||||
}
|
||||
$rootScope.$emit('Local/BackupDone');
|
||||
notification.success(gettext('Backup created'), gettext('Encrypted backup file saved'));
|
||||
notification.success(gettext('Success'), gettext('Encrypted export file saved'));
|
||||
go.walletHome();
|
||||
});
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue