remove token from localstorage and general refactor
This commit is contained in:
parent
f16efeb69e
commit
48bf75e638
5 changed files with 38 additions and 43 deletions
|
|
@ -231,14 +231,6 @@ angular.module('copayApp.services')
|
|||
storage.get('addressbook-' + network, cb);
|
||||
};
|
||||
|
||||
root.setDeviceToken = function(token, cb) {
|
||||
storage.set('pushToken', token, cb);
|
||||
}
|
||||
|
||||
root.getDeviceToken = function(cb) {
|
||||
storage.get('pushToken', cb);
|
||||
}
|
||||
|
||||
root.removeAddressbook = function(network, cb) {
|
||||
storage.remove('addressbook-' + network, cb);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue