diff options
author | Chi Kei Chan <chikeichan@gmail.com> | 2017-12-08 01:46:28 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-08 01:46:28 +0800 |
commit | 845aec82b976b1676c504832f152d6d9142c11e1 (patch) | |
tree | f6306a17629d68e217488ab15af7ce5029c07335 /ui/app/reducers | |
parent | bd5ce9461e5119c13ab8be29db5cdfc57228bac8 (diff) | |
parent | 2e9137dddd4abd07cc45caa670f09bdc9559bbbb (diff) | |
download | tangerine-wallet-browser-845aec82b976b1676c504832f152d6d9142c11e1.tar tangerine-wallet-browser-845aec82b976b1676c504832f152d6d9142c11e1.tar.gz tangerine-wallet-browser-845aec82b976b1676c504832f152d6d9142c11e1.tar.bz2 tangerine-wallet-browser-845aec82b976b1676c504832f152d6d9142c11e1.tar.lz tangerine-wallet-browser-845aec82b976b1676c504832f152d6d9142c11e1.tar.xz tangerine-wallet-browser-845aec82b976b1676c504832f152d6d9142c11e1.tar.zst tangerine-wallet-browser-845aec82b976b1676c504832f152d6d9142c11e1.zip |
Merge branch 'NewUI-flat' into MM-333-auto-add-users-to-new-UI
Diffstat (limited to 'ui/app/reducers')
-rw-r--r-- | ui/app/reducers/metamask.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ui/app/reducers/metamask.js b/ui/app/reducers/metamask.js index c496625c7..95b41e5f3 100644 --- a/ui/app/reducers/metamask.js +++ b/ui/app/reducers/metamask.js @@ -33,6 +33,7 @@ function reduceMetamask (state, action) { amount: '0x0', memo: '', errors: {}, + maxModeOn: false, editingTransactionId: null, }, coinOptions: {}, @@ -259,6 +260,14 @@ function reduceMetamask (state, action) { }, }) + case actions.UPDATE_MAX_MODE: + return extend(metamaskState, { + send: { + ...metamaskState.send, + maxModeOn: action.value, + }, + }) + case actions.UPDATE_SEND: return extend(metamaskState, { send: { |