mirror of https://github.com/BTCPrivate/copay.git
Fix wallet information. Fix Spending restriction options
This commit is contained in:
parent
b5daa7121e
commit
9bcf014694
|
@ -62,19 +62,21 @@
|
|||
<div translate>Advanced</div>
|
||||
</li>
|
||||
</ul>
|
||||
<div ng-show="!index.noFocusedWallet && (!index.isPrivKeyExternal || preferences.touchidAvailable)">
|
||||
<h4 translate>
|
||||
Spending Restrictions
|
||||
</h4>
|
||||
<ul class="no-bullet m0 ">
|
||||
<li ng-hide="index.isPrivKeyExternal">
|
||||
<switch id="network-name" name="encrypt" ng-model="encrypt" class="green right"></switch>
|
||||
<div translate>Request Password</div>
|
||||
</li>
|
||||
<li ng-show="preferences.touchidAvailable">
|
||||
<switch id="touchid" name="touchid" ng-model="touchid" class="green right"></switch>
|
||||
<div translate>Scan Fingerprint</div>
|
||||
</li>
|
||||
</ul>
|
||||
<ul class="no-bullet m0 ">
|
||||
<li ng-show="!index.isPrivKeyExternal">
|
||||
<switch id="network-name" name="encrypt" ng-model="encrypt" class="green right"></switch>
|
||||
<div translate>Request Password</div>
|
||||
</li>
|
||||
<li ng-show="preferences.touchidAvailable">
|
||||
<switch id="touchid" name="touchid" ng-model="touchid" class="green right"></switch>
|
||||
<div translate>Scan Fingerprint</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<ul class="no-bullet m0 ">
|
||||
|
||||
<h4 translate>Global settings</h4>
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
<h4></h4>
|
||||
<ul class="no-bullet m0">
|
||||
|
||||
|
||||
<li ng-click="$root.go('information')">
|
||||
<i class="icon-arrow-right3 size-24 right text-gray"></i>
|
||||
<div translate>Wallet Information</div>
|
||||
|
|
|
@ -7,7 +7,7 @@ angular.module('copayApp.controllers').controller('preferencesInformation',
|
|||
this.init = function() {
|
||||
var fc = profileService.focusedClient;
|
||||
var c = fc.credentials;
|
||||
var basePath = profileService.getUtils().PATHS.BASE_ADDRESS_DERIVATION[c.derivationStrategy][c.network];
|
||||
var basePath = profileService.getUtils().getBaseAddressDerivationPath(c.derivationStrategy, c.network, 0);
|
||||
|
||||
$scope.walletName = c.walletName;
|
||||
$scope.walletId = c.walletId;
|
||||
|
|
Loading…
Reference in New Issue