update option if enabled/disabled

This commit is contained in:
JDonadio 2017-03-02 11:25:38 -03:00
commit 34413278ec
3 changed files with 23 additions and 21 deletions

View file

@ -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);