diff options
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 6e9bf6470..976342455 100644 --- a/ui/app/selectors.js +++ b/ui/app/selectors.js @@ -36,6 +36,7 @@ const selectors = { getCurrentEthBalance, getNetworkIdentifier, isBalanceCached, + getAdvancedInlineGasShown, } module.exports = selectors @@ -230,3 +231,7 @@ function getTotalUnapprovedCount ({ metamask }) { function preferencesSelector ({ metamask }) { return metamask.preferences } + +function getAdvancedInlineGasShown (state) { + return Boolean(state.metamask.featureFlags.advancedInlineGas) +} |