Adds next step for external services

This commit is contained in:
Gustavo Maximiliano Cortez 2016-08-26 11:11:14 -03:00
commit c3188d7d17
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
12 changed files with 156 additions and 101 deletions

View file

@ -264,6 +264,18 @@ angular.module('copayApp.services')
storage.remove('addressbook-' + network, cb);
};
root.setNextStep = function(service, status, cb) {
storage.set('nextStep-' + service, status, cb);
};
root.getNextStep = function(service, cb) {
storage.get('nextStep-' + service, cb);
};
root.removeNextStep = function(service, cb) {
storage.remove('nextStep-' + service, cb);
};
root.checkQuota = function() {
var block = '';