Skip to content

Commit

Permalink
fix: nativeToken alignment on manage token list page (OneKeyHQ#1645)
Browse files Browse the repository at this point in the history
  • Loading branch information
qwang1113 committed Sep 27, 2022
1 parent 640675d commit 2d2c849
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions packages/kit/src/views/ManageTokens/Listing.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -410,12 +410,14 @@ const ListRenderToken: FC<ListRenderTokenProps> = ({
>
{item.symbol}
</Typography.Body2>
<Typography.Body2
numberOfLines={1}
color={isOwned ? 'text-disabled' : 'text-subdued'}
>
{utils.shortenAddress(item.tokenIdOnNetwork)}
</Typography.Body2>
{item.tokenIdOnNetwork ? (
<Typography.Body2
numberOfLines={1}
color={isOwned ? 'text-disabled' : 'text-subdued'}
>
{utils.shortenAddress(item.tokenIdOnNetwork)}
</Typography.Body2>
) : null}
</Box>
</Box>
<Box>
Expand Down

0 comments on commit 2d2c849

Please sign in to comment.