diff options
author | Clark, Jason (Contractor) <Jason_Clark@comcast.com> | 2017-11-24 09:33:44 +0800 |
---|---|---|
committer | Clark, Jason (Contractor) <Jason_Clark@comcast.com> | 2017-11-24 09:33:44 +0800 |
commit | 90fc4812bc75857581e56eb6d63484dbc5c48cb1 (patch) | |
tree | b80fbcf3c7c2772edf747852542127488fa59c11 /app | |
parent | 28409294c3cd70ddbc9a9f3467d402c89e110261 (diff) | |
download | tangerine-wallet-browser-90fc4812bc75857581e56eb6d63484dbc5c48cb1.tar tangerine-wallet-browser-90fc4812bc75857581e56eb6d63484dbc5c48cb1.tar.gz tangerine-wallet-browser-90fc4812bc75857581e56eb6d63484dbc5c48cb1.tar.bz2 tangerine-wallet-browser-90fc4812bc75857581e56eb6d63484dbc5c48cb1.tar.lz tangerine-wallet-browser-90fc4812bc75857581e56eb6d63484dbc5c48cb1.tar.xz tangerine-wallet-browser-90fc4812bc75857581e56eb6d63484dbc5c48cb1.tar.zst tangerine-wallet-browser-90fc4812bc75857581e56eb6d63484dbc5c48cb1.zip |
incremental commit
Diffstat (limited to 'app')
-rw-r--r-- | app/scripts/controllers/preferences.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/scripts/controllers/preferences.js b/app/scripts/controllers/preferences.js index 10004caad..c0454f77b 100644 --- a/app/scripts/controllers/preferences.js +++ b/app/scripts/controllers/preferences.js @@ -14,6 +14,14 @@ class PreferencesController { } // PUBLIC METHODS + toggleUseBlockie () { + this.store.updateState({ useBlockie: !this.useBlockie() }) + } + + getUseBlockie () { + return this.store.getState().useBlockie + } + setSelectedAddress (_address) { return new Promise((resolve, reject) => { const address = normalizeAddress(_address) |