persist state if force quit app
This commit is contained in:
parent
ebb728d35f
commit
44815fa8ee
2 changed files with 24 additions and 5 deletions
|
|
@ -276,6 +276,13 @@ angular.module('copayApp.services')
|
|||
storage.remove('nextStep-' + service, cb);
|
||||
};
|
||||
|
||||
root.setLastState = function(state, toParams, cb) {
|
||||
storage.set('lastState', state, toParams, cb);
|
||||
};
|
||||
|
||||
root.getLastState = function(cb) {
|
||||
storage.get('lastState', cb);
|
||||
};
|
||||
|
||||
root.checkQuota = function() {
|
||||
var block = '';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue