Skip to content

Commit

Permalink
bugfix: remove tokens but ETH (#1054)
Browse files Browse the repository at this point in the history
  • Loading branch information
estebanmino authored Sep 5, 2019
1 parent 8028dbb commit 00412cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/components/UI/Tokens/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ class Tokens extends PureComponent {
asset.balance ||
(itemAddress in tokenBalances ? renderFromTokenMinimalUnit(tokenBalances[itemAddress], asset.decimals) : 0);
const balanceFiat = asset.balanceFiat || balanceToFiat(balance, conversionRate, exchangeRate, currentCurrency);
const balanceValue = balance + ' ' + asset.symbol;
const balanceValue = `${balance} ${asset.symbol}`;

// render balances according to primary currency
let mainBalance, secondaryBalance;
Expand All @@ -159,7 +159,7 @@ class Tokens extends PureComponent {
<AssetElement
key={itemAddress || '0x'}
onPress={this.onItemPress}
onLongPress={this.showRemoveMenu}
onLongPress={asset.isETH ? null : this.showRemoveMenu}
asset={asset}
>
{asset.isETH ? (
Expand Down

0 comments on commit 00412cd

Please sign in to comment.