set 24 hours timer

This commit is contained in:
Gabriel Bazán 2016-11-08 12:37:05 -03:00
commit ac9cee8d6d
5 changed files with 22 additions and 7 deletions

View file

@ -138,6 +138,14 @@ angular.module('copayApp.services')
storage.remove('profile', cb);
};
root.setProfileCreationTime = function(time, cb) {
storage.set('profileCreationTime', time, cb);
};
root.getProfileCreationTime = function(cb) {
storage.get('profileCreationTime', cb);
};
root.storeFocusedWalletId = function(id, cb) {
storage.set('focusedWalletId', id || '', cb);
};