add secret to adv options in #more
This commit is contained in:
parent
5d6b943ddd
commit
ffe90f2ecc
5 changed files with 26 additions and 2 deletions
|
|
@ -64,8 +64,11 @@ angular.module('copayApp.controllers').controller('MoreController',
|
|||
|
||||
$scope.hideAdv = true;
|
||||
$scope.hidePriv = true;
|
||||
if (w)
|
||||
$scope.hideSecret = true;
|
||||
if (w) {
|
||||
$scope.priv = w.privateKey.toObj().extendedPrivateKeyString;
|
||||
$scope.secret = w.getSecret();
|
||||
}
|
||||
|
||||
$scope.downloadBackup = function() {
|
||||
backupService.download(w);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue