diff options
author | Jason Clark <jason@longview.tech> | 2017-11-25 01:35:17 +0800 |
---|---|---|
committer | Jason Clark <jason@longview.tech> | 2017-11-25 01:35:17 +0800 |
commit | fc46a16a329df296cb565e3a0b04f268d2aeceb5 (patch) | |
tree | ba5d45f1ad2f5b3a5f0fb4deb82cbf889b737612 /ui/app/reducers | |
parent | 90fc4812bc75857581e56eb6d63484dbc5c48cb1 (diff) | |
download | tangerine-wallet-browser-fc46a16a329df296cb565e3a0b04f268d2aeceb5.tar tangerine-wallet-browser-fc46a16a329df296cb565e3a0b04f268d2aeceb5.tar.gz tangerine-wallet-browser-fc46a16a329df296cb565e3a0b04f268d2aeceb5.tar.bz2 tangerine-wallet-browser-fc46a16a329df296cb565e3a0b04f268d2aeceb5.tar.lz tangerine-wallet-browser-fc46a16a329df296cb565e3a0b04f268d2aeceb5.tar.xz tangerine-wallet-browser-fc46a16a329df296cb565e3a0b04f268d2aeceb5.tar.zst tangerine-wallet-browser-fc46a16a329df296cb565e3a0b04f268d2aeceb5.zip |
toggle wired up to preferences property store
Diffstat (limited to 'ui/app/reducers')
-rw-r--r-- | ui/app/reducers/metamask.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/app/reducers/metamask.js b/ui/app/reducers/metamask.js index ee496dc6f..1b747e188 100644 --- a/ui/app/reducers/metamask.js +++ b/ui/app/reducers/metamask.js @@ -315,10 +315,10 @@ function reduceMetamask (state, action) { coinOptions, }) - case actions.TOGGLE_USE_BLOCKIE: - return extend(metamaskState, { - useBlockie: !metamaskState.useBlockie, - }) + case actions.SET_USE_BLOCKIE: + return extend(metamaskState, { + useBlockie: action.value + }) default: return metamaskState |