Save last opened wallet
This commit is contained in:
parent
698bd3f616
commit
9b1708b88e
6 changed files with 62 additions and 1 deletions
|
|
@ -19,6 +19,13 @@ FakeStorage.prototype.getGlobal = function(id) {
|
|||
return this.storage[id];
|
||||
};
|
||||
|
||||
FakeStorage.prototype.setLastOpened = function(val) {
|
||||
this.storage['lastOpened'] = val;
|
||||
};
|
||||
|
||||
FakeStorage.prototype.getLastOpened = function() {
|
||||
return this.storage['lastOpened'];
|
||||
};
|
||||
|
||||
FakeStorage.prototype.removeGlobal = function(id) {
|
||||
delete this.storage[id];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue