fix: make posters a bit smaller

This commit is contained in:
Fredrik Burmester
2024-08-20 19:18:51 +02:00
parent 5e081751a4
commit eed4df6a8a
5 changed files with 17 additions and 15 deletions

View File

@@ -21,23 +21,23 @@ const ContinueWatchingPoster: React.FC<ContinueWatchingPosterProps> = ({
getPrimaryImageUrl({
api,
item,
quality: 70,
width: 300,
quality: 90,
width: 176 * 2,
}),
[item],
[item]
);
const [progress, setProgress] = useState(
item.UserData?.PlayedPercentage || 0,
item.UserData?.PlayedPercentage || 0
);
if (!url)
return (
<View className="w-48 aspect-video border border-neutral-800"></View>
<View className="w-44 aspect-video border border-neutral-800"></View>
);
return (
<View className="w-48 relative aspect-video rounded-lg overflow-hidden border border-neutral-800">
<View className="w-44 relative aspect-video rounded-lg overflow-hidden border border-neutral-800">
<Image
key={item.Id}
id={item.Id}