Skip to content

Commit

Permalink
fix icon
Browse files Browse the repository at this point in the history
  • Loading branch information
evavirseda committed Dec 5, 2024
1 parent 2c7de01 commit f4f0a8e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,13 @@ export function ReviewValuesFormView({
{Number(amount) !== 0 ? (
<Card type={CardType.Filled}>
<CardImage type={ImageType.BgSolid}>
<CoinIcon
coinType={coinType}
size={ImageIconSize.Small}
rounded
hasCoinWrapper
/>
<div className="flex h-full w-full items-center justify-center rounded-full border border-shader-neutral-light-8 text-neutral-10 dark:text-neutral-92">
<CoinIcon
coinType={coinType}
rounded
size={ImageIconSize.Small}
/>
</div>
</CardImage>
<CardBody
title={`${isPayAllIota ? '~' : ''}${roundedAmount} ${symbol}`}
Expand Down
7 changes: 1 addition & 6 deletions apps/wallet/src/ui/app/components/receipt-card/TxnAmount.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import {
CardType,
ImageType,
} from '@iota/apps-ui-kit';
import { IOTA_TYPE_ARG } from '@iota/iota-sdk/utils';

interface TxnAmountProps {
amount: string | number | bigint;
Expand All @@ -30,11 +29,7 @@ export function TxnAmount({ amount, coinType, subtitle, approximation }: TxnAmou
<Card type={CardType.Filled}>
<CardImage type={ImageType.BgSolid}>
<div className="flex h-full w-full items-center justify-center rounded-full border border-shader-neutral-light-8 text-neutral-10 dark:text-neutral-92">
<CoinIcon
coinType={coinType}
rounded
size={coinType === IOTA_TYPE_ARG ? ImageIconSize.Small : ImageIconSize.Full}
/>
<CoinIcon coinType={coinType} rounded size={ImageIconSize.Small} />
</div>
</CardImage>
<CardBody
Expand Down

0 comments on commit f4f0a8e

Please sign in to comment.