diff options
author | kumavis <kumavis@users.noreply.github.com> | 2017-03-15 08:24:55 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-15 08:24:55 +0800 |
commit | 570cc891b5386dc04462737de4df6f2adf5059c9 (patch) | |
tree | 0b82e66942ade02e78012414aeb9576327355387 /ui/app/reducers/metamask.js | |
parent | 2a68c89ba7c5f168083beee77161adeb863d82c9 (diff) | |
parent | 311b80adf35ba8b419bff15f83a6e8893b746b39 (diff) | |
download | tangerine-wallet-browser-570cc891b5386dc04462737de4df6f2adf5059c9.tar tangerine-wallet-browser-570cc891b5386dc04462737de4df6f2adf5059c9.tar.gz tangerine-wallet-browser-570cc891b5386dc04462737de4df6f2adf5059c9.tar.bz2 tangerine-wallet-browser-570cc891b5386dc04462737de4df6f2adf5059c9.tar.lz tangerine-wallet-browser-570cc891b5386dc04462737de4df6f2adf5059c9.tar.xz tangerine-wallet-browser-570cc891b5386dc04462737de4df6f2adf5059c9.tar.zst tangerine-wallet-browser-570cc891b5386dc04462737de4df6f2adf5059c9.zip |
Merge pull request #1212 from MetaMask/i1211-currencyretention
Fix currency settings retention
Diffstat (limited to 'ui/app/reducers/metamask.js')
-rw-r--r-- | ui/app/reducers/metamask.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/ui/app/reducers/metamask.js b/ui/app/reducers/metamask.js index a3c07d977..269f8d272 100644 --- a/ui/app/reducers/metamask.js +++ b/ui/app/reducers/metamask.js @@ -13,9 +13,6 @@ function reduceMetamask (state, action) { rpcTarget: 'https://rawtestrpc.metamask.io/', identities: {}, unapprovedTxs: {}, - currentFiat: 'USD', - conversionRate: 0, - conversionDate: 'N/A', noActiveNotices: true, lastUnreadNotice: undefined, frequentRpcList: [], @@ -126,7 +123,7 @@ function reduceMetamask (state, action) { case actions.SET_CURRENT_FIAT: return extend(metamaskState, { - currentFiat: action.value.currentFiat, + currentCurrency: action.value.currentCurrency, conversionRate: action.value.conversionRate, conversionDate: action.value.conversionDate, }) |