update option if enabled/disabled
This commit is contained in:
parent
313269a45c
commit
34413278ec
3 changed files with 23 additions and 21 deletions
|
|
@ -17,7 +17,7 @@ angular.module('copayApp.services').factory('pincodeService', function($log, $ro
|
|||
});
|
||||
};
|
||||
|
||||
root.lockChange = function(opts, cb) {
|
||||
root.lockChange = function(opts) {
|
||||
if (opts.enabled) console.log('Locking app from service');
|
||||
else console.log('Unlocking app from service');
|
||||
openPincodeModal(opts);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue