Merge pull request #4551 from gabrielbazan7/fix/backupProccess

enable button when all words are selected
This commit is contained in:
Gustavo Maximiliano Cortez 2016-07-12 10:08:07 -03:00 committed by GitHub
commit 8da0796e26
2 changed files with 6 additions and 1 deletions

View File

@ -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;

View File

@ -176,6 +176,11 @@ angular.module('copayApp.controllers').controller('createController',
});
return;
}
if (self.seedSourceId == 'set') {
$timeout(function() {
$rootScope.$emit('Local/BackupDone');
}, 1);
}
go.walletHome();
});