add rate card flag

This commit is contained in:
Gabriel Bazán 2016-11-02 10:52:04 -03:00
commit 7b2d3b1df0
8 changed files with 111 additions and 82 deletions

View file

@ -203,6 +203,14 @@ angular.module('copayApp.services')
storage.set('homeTip', val, cb);
};
root.getRateCardFlag = function(cb) {
storage.get('rateCardFlag', cb);
};
root.setRateCardFlag = function(val, cb) {
storage.set('rateCardFlag', val, cb);
};
root.setHideBalanceFlag = function(walletId, val, cb) {
storage.set('hideBalance-' + walletId, val, cb);
};