mirror of https://github.com/BTCPrivate/copay.git
Merge pull request #6175 from gabrielbazan7/fix/UItoogle
fix spending password toggle
This commit is contained in:
commit
5309d2f864
|
@ -5,10 +5,6 @@ angular.module('copayApp.controllers').controller('preferencesController',
|
|||
var wallet;
|
||||
var walletId;
|
||||
|
||||
$scope.encryptEnabled = {
|
||||
value: walletService.isEncrypted(wallet)
|
||||
};
|
||||
|
||||
$scope.hiddenBalanceChange = function() {
|
||||
var opts = {
|
||||
balance: {
|
||||
|
@ -92,6 +88,10 @@ angular.module('copayApp.controllers').controller('preferencesController',
|
|||
value: $scope.wallet.balanceHidden
|
||||
};
|
||||
|
||||
$scope.encryptEnabled = {
|
||||
value: walletService.isEncrypted(wallet)
|
||||
};
|
||||
|
||||
$scope.touchIdAvailable = fingerprintService.isAvailable();
|
||||
$scope.touchIdEnabled = {
|
||||
value: config.touchIdFor ? config.touchIdFor[walletId] : null
|
||||
|
|
Loading…
Reference in New Issue