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/selectors.js | |
parent | bd5ce9461e5119c13ab8be29db5cdfc57228bac8 (diff) | |
parent | 2e9137dddd4abd07cc45caa670f09bdc9559bbbb (diff) | |
download | tangerine-wallet-browser-845aec82b976b1676c504832f152d6d9142c11e1.tar.gz 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/selectors.js')
-rw-r--r-- | ui/app/selectors.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/app/selectors.js b/ui/app/selectors.js index 8aea7864a..22ef439c4 100644 --- a/ui/app/selectors.js +++ b/ui/app/selectors.js @@ -25,6 +25,7 @@ const selectors = { getSelectedTokenToFiatRate, getSelectedTokenContract, autoAddToBetaUI, + getSendMaxModeState, } module.exports = selectors @@ -136,6 +137,10 @@ function getSendAmount (state) { return state.metamask.send.amount } +function getSendMaxModeState (state) { + return state.metamask.send.maxModeOn +} + function getCurrentCurrency (state) { return state.metamask.currentCurrency } |