fix DownloadItem show title row styling

This commit is contained in:
Jorrin
2024-04-13 21:56:20 +02:00
parent e83054c1ca
commit 8d1ec8f1dc
2 changed files with 9 additions and 4 deletions

View File

@@ -100,9 +100,14 @@ export function DownloadItem(props: DownloadItemProps) {
height="100%"
/>
</View>
<YStack gap="$2">
<XStack gap="$6" maxWidth="65%">
<Text fontWeight="$bold" ellipse flexGrow={1}>
<YStack gap="$2" flex={1}>
<XStack justifyContent="space-between" alignItems="center">
<Text
fontWeight="$bold"
numberOfLines={1}
ellipsizeMode="tail"
flex={1}
>
{props.item.media.type === "show" &&
`${mapSeasonAndEpisodeNumberToText(
props.item.media.season.number,