Merge pull request #4551 from gabrielbazan7/fix/backupProccess
enable button when all words are selected
This commit is contained in:
commit
8da0796e26
2 changed files with 6 additions and 1 deletions
|
|
@ -123,7 +123,7 @@ angular.module('copayApp.controllers').controller('backupController',
|
||||||
};
|
};
|
||||||
|
|
||||||
$scope.shouldContinue = function() {
|
$scope.shouldContinue = function() {
|
||||||
if ($scope.customWords.length == 12)
|
if ($scope.customWords.length == $scope.shuffledMnemonicWords.length)
|
||||||
$scope.selectComplete = true;
|
$scope.selectComplete = true;
|
||||||
else
|
else
|
||||||
$scope.selectComplete = false;
|
$scope.selectComplete = false;
|
||||||
|
|
|
||||||
|
|
@ -176,6 +176,11 @@ angular.module('copayApp.controllers').controller('createController',
|
||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (self.seedSourceId == 'set') {
|
||||||
|
$timeout(function() {
|
||||||
|
$rootScope.$emit('Local/BackupDone');
|
||||||
|
}, 1);
|
||||||
|
}
|
||||||
go.walletHome();
|
go.walletHome();
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue