remove token from localstorage and general refactor

This commit is contained in:
Gabriel Bazán 2016-04-07 12:58:32 -03:00
commit 48bf75e638
5 changed files with 38 additions and 43 deletions

View file

@ -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);
};