tap to lock balance

This commit is contained in:
Gabriel Bazán 2016-05-13 15:05:43 -03:00 committed by Javier
commit efa36915e1
3 changed files with 30 additions and 2 deletions

View file

@ -200,6 +200,14 @@ angular.module('copayApp.services')
storage.remove('config', cb);
};
root.setHideBalanceFlag = function(walletId, val, cb) {
storage.set('hideBalance-' + walletId, val, cb);
};
root.getHideBalanceFlag = function(walletId, cb) {
storage.get('hideBalance-' + walletId, cb);
};
//for compatibility
root.getCopayDisclaimerFlag = function(cb) {
storage.get('agreeDisclaimer', cb);