Simple addressbook
This commit is contained in:
parent
597e9cec23
commit
6dd8b98dfc
12 changed files with 352 additions and 66 deletions
|
|
@ -204,5 +204,17 @@ angular.module('copayApp.services')
|
|||
storage.remove('glideraToken-' + network, cb);
|
||||
};
|
||||
|
||||
root.setAddressbook = function(network, addressbook, cb) {
|
||||
storage.set('addressbook-' + network, addressbook, cb);
|
||||
};
|
||||
|
||||
root.getAddressbook = function(network, cb) {
|
||||
storage.get('addressbook-' + network, cb);
|
||||
};
|
||||
|
||||
root.removeAddressbook = function(network, cb) {
|
||||
storage.remove('addressbook-' + network, cb);
|
||||
};
|
||||
|
||||
return root;
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue