Skip to content

Commit

Permalink
fix(suite): network/token icons
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasklim committed Feb 4, 2025
1 parent 59d8906 commit 2ec93d9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export const AssetItem = ({
'data-testid': dataTestId,
}: AssetItemProps) => {
const getCoinLogo = () =>
isCoinSymbol(symbol) ? <CoinLogo size={24} symbol={symbol} /> : null;
isCoinSymbol(symbol) ? <CoinLogo size={24} symbol={symbol} type="badge" /> : null;
const displaySymbol = getDisplaySymbol(ticker, contractAddress);

return (
Expand Down
2 changes: 1 addition & 1 deletion packages/suite/src/components/suite/CoinList/Coin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ export const Coin = ({
data-active={toggled}
>
<ImageWrapper>
<CoinLogo size={24} symbol={symbol} type="network" />
<CoinLogo size={24} symbol={symbol} type="coin" />
<Check $visible={toggled}>
<Icon size={8} color={theme.legacy.TYPE_WHITE} name="check" />
</Check>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export const AccountDetails = ({ selectedAccount, isBalanceShown }: AccountDetai

return (
<DetailsContainer $isBalanceShown={isBalanceShown} $shouldAnimate={shouldAnimate}>
<CoinLogo size={LOGO_SIZE} symbol={symbol} type="badge" />
<CoinLogo size={LOGO_SIZE} symbol={symbol} type="coin" />
<div>
<AccountHeading $isBalanceShown={isBalanceShown}>
<MetadataLabeling
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ export const TokenSelect = ({ outputId }: TokenSelectProps) => {
shouldTryToFetch={isTokenKnown}
/>
) : (
<CoinLogo symbol={account.symbol} size={36} />
<CoinLogo symbol={account.symbol} size={36} type="badge" />
)}
<Column alignItems="flex-start">
<Row justifyContent="flex-start">
Expand Down

0 comments on commit 2ec93d9

Please sign in to comment.