rm fn from more

This commit is contained in:
Matias Alejo Garcia 2014-08-21 14:57:50 -04:00
parent 291ed73916
commit fc78ae27d2
2 changed files with 3 additions and 6 deletions

View File

@ -2,14 +2,11 @@
angular.module('copayApp.controllers').controller('MoreController',
function($scope, $rootScope, $location, backupService, walletFactory, controllerUtils, notification) {
var w = $rootScope.wallet;
$scope.hideAdv=true;
$scope.hidePriv=true;
$scope.getPrivate = function() {
var w = $rootScope.wallet;
return w.privateKey.toObj().extendedPrivateKeyString;
}
$scope.priv = w.privateKey.toObj().extendedPrivateKeyString;
$scope.downloadBackup = function() {
var w = $rootScope.wallet;

View File

@ -35,7 +35,7 @@
<span ng-hide="hidePriv">Hide</span>
</a>
</div>
<textarea ng-hide="hidePriv" readonly>{{getPrivate()}}</textarea>
<textarea ng-hide="hidePriv" readonly>{{priv}}</textarea>
</div>
<div class="oh large-12 columns panel">
<h3><i class="fi-minus-circle m10r"></i> Scan Wallet Addresses </h3>