mirror of https://github.com/BTCPrivate/copay.git
Merge pull request #4551 from gabrielbazan7/fix/backupProccess
enable button when all words are selected
This commit is contained in:
commit
8da0796e26
|
@ -123,7 +123,7 @@ angular.module('copayApp.controllers').controller('backupController',
|
|||
};
|
||||
|
||||
$scope.shouldContinue = function() {
|
||||
if ($scope.customWords.length == 12)
|
||||
if ($scope.customWords.length == $scope.shuffledMnemonicWords.length)
|
||||
$scope.selectComplete = true;
|
||||
else
|
||||
$scope.selectComplete = false;
|
||||
|
|
|
@ -176,6 +176,11 @@ angular.module('copayApp.controllers').controller('createController',
|
|||
});
|
||||
return;
|
||||
}
|
||||
if (self.seedSourceId == 'set') {
|
||||
$timeout(function() {
|
||||
$rootScope.$emit('Local/BackupDone');
|
||||
}, 1);
|
||||
}
|
||||
go.walletHome();
|
||||
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue