From 57cac96df56fedf0e5b66ca67f0ab9ea7e6b35a2 Mon Sep 17 00:00:00 2001 From: Fredrik Burmester Date: Sun, 25 Aug 2024 17:58:53 +0200 Subject: [PATCH] chore --- components/home/ScrollingCollectionList.tsx | 2 +- components/posters/MoviePoster.tsx | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/components/home/ScrollingCollectionList.tsx b/components/home/ScrollingCollectionList.tsx index 3a5f3dc5..502f54bf 100644 --- a/components/home/ScrollingCollectionList.tsx +++ b/components/home/ScrollingCollectionList.tsx @@ -66,7 +66,7 @@ export const ScrollingCollectionList: React.FC = ({ )} {item.Type === "Movie" && } - {item.Type === "Series" && } + {item.Type === "Series" && } diff --git a/components/posters/MoviePoster.tsx b/components/posters/MoviePoster.tsx index ff9f3458..5484ecb1 100644 --- a/components/posters/MoviePoster.tsx +++ b/components/posters/MoviePoster.tsx @@ -1,3 +1,4 @@ +import { WatchedIndicator } from "@/components/WatchedIndicator"; import { apiAtom } from "@/providers/JellyfinProvider"; import { getPrimaryImageUrl } from "@/utils/jellyfin/image/getPrimaryImageUrl"; import { BaseItemDto } from "@jellyfin/sdk/lib/generated-client/models"; @@ -5,7 +6,6 @@ import { Image } from "expo-image"; import { useAtom } from "jotai"; import { useMemo, useState } from "react"; import { View } from "react-native"; -import { WatchedIndicator } from "@/components/WatchedIndicator"; type MoviePosterProps = { item: BaseItemDto; @@ -60,6 +60,7 @@ const MoviePoster: React.FC = ({ width: "100%", }} /> + {showProgress && progress > 0 && (