complete flow views
This commit is contained in:
parent
b774d84022
commit
f259d11f4e
3 changed files with 20 additions and 16 deletions
|
|
@ -6,19 +6,18 @@ angular.module('copayApp.controllers').controller('wordsController',
|
|||
var msg = gettext('Are you sure you want to delete the backup words?');
|
||||
var successMsg = gettext('Backup words deleted');
|
||||
var self = this;
|
||||
self.show = false;
|
||||
self.sorted = false;
|
||||
$scope.seed = '';
|
||||
var customSortWords = [];
|
||||
var fc = profileService.focusedClient;
|
||||
self.show = false;
|
||||
self.sorted = false;
|
||||
|
||||
if (fc.isPrivKeyEncrypted()) self.credentialsEncrypted = true;
|
||||
else {
|
||||
if (fc.isPrivKeyEncrypted())
|
||||
self.credentialsEncrypted = true;
|
||||
else
|
||||
setWords(fc.getMnemonic());
|
||||
}
|
||||
if (fc.credentials && !fc.credentials.mnemonicEncrypted && !fc.credentials.mnemonic) {
|
||||
|
||||
if (fc.credentials && !fc.credentials.mnemonicEncrypted && !fc.credentials.mnemonic)
|
||||
self.deleted = true;
|
||||
}
|
||||
|
||||
self.toggle = function() {
|
||||
self.error = "";
|
||||
|
|
|
|||
|
|
@ -445,6 +445,17 @@ angular
|
|||
},
|
||||
}
|
||||
})
|
||||
.state('backupConfirm', {
|
||||
url: '/backupConfirm',
|
||||
templateUrl: 'views/backupConfirm.html',
|
||||
walletShouldBeComplete: true,
|
||||
needProfile: true,
|
||||
views: {
|
||||
'main': {
|
||||
templateUrl: 'views/backupConfirm.html'
|
||||
},
|
||||
}
|
||||
})
|
||||
.state('preferencesGlobal', {
|
||||
url: '/preferencesGlobal',
|
||||
needProfile: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue