Skip to content

Commit

Permalink
fix: partner name android not truncated properly (#11047)
Browse files Browse the repository at this point in the history
fix: partner name android truncated
  • Loading branch information
gkartalis authored Oct 31, 2024
1 parent 330e239 commit 2ed20b3
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/app/Components/ArtworkRail/ArtworkRailCardMeta.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,11 @@ export const ArtworkRailCardMeta: React.FC<ArtworkRailCardMetaProps> = ({
)}

{!!showPartnerName && !!partner?.name && (
<Text lineHeight="20px" variant="xs" color={secondaryTextColor} numberOfLines={1}>
{partner?.name}
</Text>
<RNText numberOfLines={1} ellipsizeMode="tail">
<Text lineHeight="20px" variant="xs" color={secondaryTextColor}>
{partner?.name}
</Text>
</RNText>
)}

{SalePriceComponent
Expand Down

0 comments on commit 2ed20b3

Please sign in to comment.