scrolling refactor - copy backup phrase
This commit is contained in:
parent
fc52a8cf87
commit
c0e70eb686
6 changed files with 15 additions and 5 deletions
|
|
@ -97,6 +97,12 @@ angular.module('copayApp.controllers').controller('backupController',
|
|||
});
|
||||
};
|
||||
|
||||
$scope.copyRecoveryPhrase = function() {
|
||||
if ($scope.wallet.network == 'livenet') return null;
|
||||
else if (!$scope.wallet.credentials.mnemonic) return null;
|
||||
else return $scope.wallet.credentials.mnemonic;
|
||||
};
|
||||
|
||||
var confirm = function(cb) {
|
||||
$scope.backupError = false;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue