Skip to content

Commit

Permalink
bugfix: amount switch no conversion (#1373)
Browse files Browse the repository at this point in the history
  • Loading branch information
estebanmino authored Feb 18, 2020
1 parent c4231ff commit 4f4964c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/Views/SendFlow/Amount/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ class Amount extends PureComponent {
const processedInputValue = isDecimal(inputValue) ? handleWeiNumber(inputValue) : '0';
selectedAsset = selectedAsset || this.props.selectedAsset;
if (selectedAsset.isETH) {
hasExchangeRate = true;
hasExchangeRate = !!conversionRate;
if (internalPrimaryCurrencyIsCrypto) {
inputValueConversion = `${weiToFiatNumber(toWei(processedInputValue), conversionRate)}`;
renderableInputValueConversion = `${weiToFiat(
Expand Down

0 comments on commit 4f4964c

Please sign in to comment.