aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/lib/idStore.js
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2016-02-16 06:44:13 +0800
committerkumavis <aaron@kumavis.me>2016-02-16 06:44:13 +0800
commit9da4094db6576443aca13314a5a3be95dd8d9a37 (patch)
tree5053c09103acc53c72a4dc850dd0fe679d2a8237 /app/scripts/lib/idStore.js
parent5fbaed23c6d0595c099f30415d968572295bcc8f (diff)
downloadtangerine-wallet-browser-9da4094db6576443aca13314a5a3be95dd8d9a37.tar
tangerine-wallet-browser-9da4094db6576443aca13314a5a3be95dd8d9a37.tar.gz
tangerine-wallet-browser-9da4094db6576443aca13314a5a3be95dd8d9a37.tar.bz2
tangerine-wallet-browser-9da4094db6576443aca13314a5a3be95dd8d9a37.tar.lz
tangerine-wallet-browser-9da4094db6576443aca13314a5a3be95dd8d9a37.tar.xz
tangerine-wallet-browser-9da4094db6576443aca13314a5a3be95dd8d9a37.tar.zst
tangerine-wallet-browser-9da4094db6576443aca13314a5a3be95dd8d9a37.zip
idStore - add isInitialized flag
Diffstat (limited to 'app/scripts/lib/idStore.js')
-rw-r--r--app/scripts/lib/idStore.js1
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(),
}))
}