aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/selectors.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app/selectors.js')
-rw-r--r--ui/app/selectors.js5
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
}