mirror of https://github.com/BTCPrivate/copay.git
rm fn from more
This commit is contained in:
parent
291ed73916
commit
fc78ae27d2
|
@ -2,14 +2,11 @@
|
||||||
|
|
||||||
angular.module('copayApp.controllers').controller('MoreController',
|
angular.module('copayApp.controllers').controller('MoreController',
|
||||||
function($scope, $rootScope, $location, backupService, walletFactory, controllerUtils, notification) {
|
function($scope, $rootScope, $location, backupService, walletFactory, controllerUtils, notification) {
|
||||||
|
var w = $rootScope.wallet;
|
||||||
|
|
||||||
$scope.hideAdv=true;
|
$scope.hideAdv=true;
|
||||||
$scope.hidePriv=true;
|
$scope.hidePriv=true;
|
||||||
|
$scope.priv = w.privateKey.toObj().extendedPrivateKeyString;
|
||||||
$scope.getPrivate = function() {
|
|
||||||
var w = $rootScope.wallet;
|
|
||||||
return w.privateKey.toObj().extendedPrivateKeyString;
|
|
||||||
}
|
|
||||||
|
|
||||||
$scope.downloadBackup = function() {
|
$scope.downloadBackup = function() {
|
||||||
var w = $rootScope.wallet;
|
var w = $rootScope.wallet;
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
<span ng-hide="hidePriv">Hide</span>
|
<span ng-hide="hidePriv">Hide</span>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<textarea ng-hide="hidePriv" readonly>{{getPrivate()}}</textarea>
|
<textarea ng-hide="hidePriv" readonly>{{priv}}</textarea>
|
||||||
</div>
|
</div>
|
||||||
<div class="oh large-12 columns panel">
|
<div class="oh large-12 columns panel">
|
||||||
<h3><i class="fi-minus-circle m10r"></i> Scan Wallet Addresses </h3>
|
<h3><i class="fi-minus-circle m10r"></i> Scan Wallet Addresses </h3>
|
||||||
|
|
Loading…
Reference in New Issue