From 9da4094db6576443aca13314a5a3be95dd8d9a37 Mon Sep 17 00:00:00 2001 From: kumavis Date: Mon, 15 Feb 2016 14:44:13 -0800 Subject: idStore - add isInitialized flag --- app/scripts/lib/idStore.js | 1 + 1 file changed, 1 insertion(+) (limited to 'app/scripts/lib/idStore.js') 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(), })) } -- cgit