made home tip persistent until user closes

This commit is contained in:
Jamal Jackson 2016-10-10 13:06:29 -04:00
commit b23da0aa11
2 changed files with 21 additions and 5 deletions

View file

@ -195,6 +195,14 @@ angular.module('copayApp.services')
storage.remove('config', cb);
};
root.getHomeTipAccepted = function(cb) {
storage.get('homeTip', cb);
};
root.setHomeTipAccepted = function(val, cb) {
storage.set('homeTip', val, cb);
};
root.setHideBalanceFlag = function(walletId, val, cb) {
storage.set('hideBalance-' + walletId, val, cb);
};