add pincode service - refactor
This commit is contained in:
parent
82e556b026
commit
313269a45c
5 changed files with 85 additions and 48 deletions
|
|
@ -31,7 +31,7 @@
|
|||
|
||||
<div class="item item-divider"></div>
|
||||
|
||||
<ion-toggle ng-model="usePincode.value" toggle-class="toggle-balanced" ng-change="showPincodeModal()">
|
||||
<ion-toggle ng-model="usePincode.enabled" toggle-class="toggle-balanced" ng-change="usePincodeChange()">
|
||||
<span class="toggle-label" translate>Use pin to lock/unlock the app</span>
|
||||
</ion-toggle>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<ion-modal-view id="pin-code" ng-controller="pincodeController">
|
||||
<div ng-if="fromSettings" ng-click="cancel()" class="close" translate>Close</div>
|
||||
<div ng-if="from == 'settings'" ng-click="close()" class="close" translate>Close</div>
|
||||
<div class="content">
|
||||
<div class="block-code">
|
||||
<div class="row">
|
||||
|
|
@ -53,7 +53,7 @@
|
|||
</div>
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<button class="button button-light button-stretch icon ion-checkmark" ng-click="save()"></button>
|
||||
<button class="button button-light button-stretch icon ion-checkmark" ng-click="save()" ng-disabled=""></button>
|
||||
</div>
|
||||
<div class="col">
|
||||
<button class="button button-light button-stretch" ng-click="add('0')">0</button>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue