diff options
Get currency from state in account details, send and confirm screens.
Diffstat (limited to 'ui/app/send-v2.js')
-rw-r--r-- | ui/app/send-v2.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ui/app/send-v2.js b/ui/app/send-v2.js index 8915350a3..effa68b4b 100644 --- a/ui/app/send-v2.js +++ b/ui/app/send-v2.js @@ -277,6 +277,7 @@ SendTransactionScreen.prototype.renderAmountRow = function () { const { selectedToken, primaryCurrency = 'ETH', + convertedCurrency, amountConversionRate, errors, } = this.props @@ -294,10 +295,9 @@ SendTransactionScreen.prototype.renderAmountRow = function () { h(CurrencyDisplay, { inError: Boolean(errors.amount), primaryCurrency, - convertedCurrency: 'USD', + convertedCurrency, value: amount, conversionRate: amountConversionRate, - convertedPrefix: '$', handleChange: this.handleAmountChange, validate: this.validateAmount, }), @@ -309,6 +309,7 @@ SendTransactionScreen.prototype.renderAmountRow = function () { SendTransactionScreen.prototype.renderGasRow = function () { const { conversionRate, + convertedCurrency, showCustomizeGasModal, gasTotal = MIN_GAS_TOTAL, } = this.props @@ -322,6 +323,7 @@ SendTransactionScreen.prototype.renderGasRow = function () { h(GasFeeDisplay, { gasTotal, conversionRate, + convertedCurrency, onClick: showCustomizeGasModal, }), |