moving delete wallet and request password to security preferences
This commit is contained in:
parent
7b3e308e25
commit
1c841e5f21
4 changed files with 27 additions and 29 deletions
|
|
@ -67,22 +67,6 @@
|
|||
<div translate>Advanced</div>
|
||||
</li>
|
||||
</ul>
|
||||
<div ng-show="!index.noFocusedWallet && index.canSign">
|
||||
<h4 translate ng-show="index.canSign">
|
||||
Spending Restrictions
|
||||
</h4>
|
||||
<ul class="no-bullet m0">
|
||||
<li>
|
||||
<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>
|
||||
<h4></h4>
|
||||
|
||||
</div>
|
||||
<div class="extra-margin-bottom"></div>
|
||||
|
|
|
|||
|
|
@ -28,11 +28,6 @@
|
|||
<i class="icon-arrow-right3 size-24 right text-gray"></i>
|
||||
<span>Wallet Service URL</span>
|
||||
</li>
|
||||
|
||||
<li ng-click="$root.go('delete')">
|
||||
<i class="icon-arrow-right3 size-24 right text-gray"></i>
|
||||
<div translate>Delete Wallet</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="extra-margin-bottom"></div>
|
||||
|
|
|
|||
|
|
@ -22,6 +22,9 @@
|
|||
<p translate class="size-14 text-gray" ng-show="!index.needsBackup" > <span translate>
|
||||
Once you have copied your wallet seed down, it is recommended to delete it from this device.
|
||||
</span></p>
|
||||
<p translate class="size-14 text-gray" ng-show="index.needsBackup" > <span translate>
|
||||
Need to do backup
|
||||
</span></p>
|
||||
<button class="button round expand warning" ng-disabled="index.needsBackup" ng-click="preferences.delete()" translate>
|
||||
<i class="fi-trash"></i>
|
||||
<span translate>
|
||||
|
|
|
|||
|
|
@ -4,16 +4,32 @@
|
|||
ng-init="titleSection='Security'; goBackToState = 'preferences'">
|
||||
</div>
|
||||
|
||||
|
||||
<div class="content preferences" ng-controller="securityPreferencesController as security" >
|
||||
|
||||
<h4></h4>
|
||||
|
||||
<h4></h4>
|
||||
<ul class="no-bullet m0" ng-show="!index.noFocusedWallet">
|
||||
|
||||
<li ng-click="$root.go('deleteWords')" ng-show ="!security.deleted">
|
||||
<i class="icon-arrow-right3 size-24 right text-gray"></i>
|
||||
<div translate>Delete seed words</div>
|
||||
<li ng-click="$root.go('delete')">
|
||||
<i class="icon-arrow-right3 size-24 right text-gray"></i>
|
||||
<div translate>Delete Wallet</div>
|
||||
</li>
|
||||
<li ng-click="$root.go('deleteWords')" ng-show ="!security.deleted">
|
||||
<i class="icon-arrow-right3 size-24 right text-gray"></i>
|
||||
<div translate>Delete seed words</div>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
<div ng-show="!index.noFocusedWallet && index.canSign">
|
||||
<h4 translate ng-show="index.canSign">
|
||||
Spending Restrictions
|
||||
</h4>
|
||||
<ul class="no-bullet m0">
|
||||
<li>
|
||||
<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>
|
||||
<h4></h4>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue