Skip to content

Commit

Permalink
Fix EthCard mainnet icon
Browse files Browse the repository at this point in the history
  • Loading branch information
christianbaroni committed Jan 17, 2025
1 parent ea6c8d3 commit c948cff
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/components/cards/EthCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,11 @@ import { useAccountAccentColor } from '@/hooks/useAccountAccentColor';
import { useRoute } from '@react-navigation/native';
import * as i18n from '@/languages';
import { ButtonPressAnimationTouchEvent } from '@/components/animations/ButtonPressAnimation/types';
import { ChainImage } from '@/components/coin-icon/ChainImage';
import { useExternalToken } from '@/resources/assets/externalAssetsQuery';
import assetTypes from '@/entities/assetTypes';
import { Network, ChainId } from '@/state/backendNetworks/types';
import { getUniqueId } from '@/utils/ethereumUtils';
import RainbowCoinIcon from '../coin-icon/RainbowCoinIcon';
import { useBackendNetworksStore } from '@/state/backendNetworks/backendNetworks';

export const ETH_CARD_HEIGHT = 284.3;

Expand Down Expand Up @@ -156,12 +155,7 @@ export const EthCard = () => {
</>
) : (
<>
<RainbowCoinIcon
icon={useBackendNetworksStore.getState().getChainsBadge()[ChainId.mainnet]}
chainId={ChainId.mainnet}
size={28}
symbol={useBackendNetworksStore.getState().getChainsNativeAsset()[ChainId.mainnet].symbol}
/>
<ChainImage chainId={ChainId.mainnet} position="relative" size={20} />
<Text size="17pt" color={{ custom: colorForAsset }} weight="heavy">
{ethAsset?.name}
</Text>
Expand Down

0 comments on commit c948cff

Please sign in to comment.