Merge pull request #5910 from JDonadio/ref/pin-request
Request PIN to disable it
This commit is contained in:
commit
aceef14276
7 changed files with 185 additions and 107 deletions
|
|
@ -6,8 +6,8 @@
|
|||
</ion-nav-bar>
|
||||
|
||||
<ion-content>
|
||||
<ion-radio ng-repeat="opt in options" ng-value="opt" ng-model="currentOption" ng-click="select(opt.method)" ng-disabled="opt.needsBackup">
|
||||
<span ng-class="{'disabled': opt.needsBackup}">{{opt.label}}</span>
|
||||
<ion-radio ng-repeat="opt in options" ng-value="opt" ng-model="currentOption" ng-click="select(opt.method)" ng-disabled="opt.needsBackup || opt.disabled">
|
||||
<span ng-class="{'disabled': opt.needsBackup || opt.disabled}">{{opt.label}}</span>
|
||||
</ion-radio>
|
||||
|
||||
<div class="assertive" style="text-align: center; margin: 4rem" ng-if="errorMsg">
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<ion-view id="pin" hide-tabs hide-back-button="!fromSettings">
|
||||
<ion-view id="pin" hide-tabs hide-back-button="action == 'check'">
|
||||
<ion-nav-bar class="bar-clear">
|
||||
<ion-nav-back-button>
|
||||
</ion-nav-back-button>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue