diff options
idStore - add isInitialized flag
Diffstat (limited to 'app')
-rw-r--r-- | app/scripts/lib/idStore.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/scripts/lib/idStore.js b/app/scripts/lib/idStore.js index fa5e1fa67..878648050 100644 --- a/app/scripts/lib/idStore.js +++ b/app/scripts/lib/idStore.js @@ -40,6 +40,7 @@ IdentityStore.prototype.setStore = function(store){ IdentityStore.prototype.getState = function(){ const self = this return clone(extend(self._currentState, { + isInitialized: !!window.localStorage['lightwallet'], isUnlocked: self._isUnlocked(), })) } |