save remote for new clients

This commit is contained in:
Matias Alejo Garcia 2015-06-29 22:40:39 -03:00
commit 7f65822790
4 changed files with 28 additions and 14 deletions

View file

@ -176,19 +176,19 @@ angular.module('copayApp.services')
storage.remove('config', cb);
};
root.setCopayDisclaimer = function(cb) {
root.setCopayDisclaimerFlag = function(cb) {
storage.set('agreeDisclaimer', true, cb);
};
root.getCopayDisclaimer = function(cb) {
root.getCopayDisclaimerFlag = function(cb) {
storage.get('agreeDisclaimer', cb);
};
root.setRemotePreferencesStored = function(cb) {
root.setRemotePrefsStoredFlag = function(cb) {
storage.set('remotePrefStored', true, cb);
};
root.getRemovePreferencesStored = function(cb) {
root.getRemotePrefsStoredFlag = function(cb) {
storage.get('remotePrefStored', cb);
};