scrolling refactor - copy backup phrase

This commit is contained in:
JDonadio 2017-02-16 16:41:36 -05:00
commit c0e70eb686
6 changed files with 15 additions and 5 deletions

View file

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