Merge pull request #5013 from gabrielbazan7/fix/feedback
feedback feature refactor
This commit is contained in:
commit
da7bb1170b
17 changed files with 104 additions and 57 deletions
|
|
@ -221,12 +221,12 @@ angular.module('copayApp.services')
|
|||
storage.remove('profile', cb);
|
||||
};
|
||||
|
||||
root.setProfileCreationTime = function(time, cb) {
|
||||
storage.set('profileCreationTime', time, cb);
|
||||
root.setFeedbackInfo = function(feedbackValues, cb) {
|
||||
storage.set('feedback', feedbackValues, cb);
|
||||
};
|
||||
|
||||
root.getProfileCreationTime = function(cb) {
|
||||
storage.get('profileCreationTime', cb);
|
||||
root.getFeedbackInfo = function(cb) {
|
||||
storage.get('feedback', cb);
|
||||
};
|
||||
|
||||
root.storeFocusedWalletId = function(id, cb) {
|
||||
|
|
@ -294,14 +294,6 @@ 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);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue