diff --git a/components/downloads/EpisodeCard.tsx b/components/downloads/EpisodeCard.tsx index 68678323..dc2a5d71 100644 --- a/components/downloads/EpisodeCard.tsx +++ b/components/downloads/EpisodeCard.tsx @@ -8,12 +8,12 @@ import { useAtom } from "jotai"; import { Text } from "../common/Text"; import { useFiles } from "@/hooks/useFiles"; +import { useSettings } from "@/utils/atoms/settings"; import { currentlyPlayingItemAtom, fullScreenAtom, playingAtom, -} from "../CurrentlyPlayingBar"; -import { useSettings } from "@/utils/atoms/settings"; +} from "@/utils/atoms/playState"; interface EpisodeCardProps { item: BaseItemDto; diff --git a/components/downloads/MovieCard.tsx b/components/downloads/MovieCard.tsx index 5deb999d..96018da2 100644 --- a/components/downloads/MovieCard.tsx +++ b/components/downloads/MovieCard.tsx @@ -9,12 +9,13 @@ import { useAtom } from "jotai"; import { Text } from "../common/Text"; import { useFiles } from "@/hooks/useFiles"; import { runtimeTicksToMinutes } from "@/utils/time"; + +import { useSettings } from "@/utils/atoms/settings"; import { currentlyPlayingItemAtom, - fullScreenAtom, playingAtom, -} from "../CurrentlyPlayingBar"; -import { useSettings } from "@/utils/atoms/settings"; + fullScreenAtom, +} from "@/utils/atoms/playState"; interface MovieCardProps { item: BaseItemDto; @@ -81,7 +82,12 @@ export const MovieCard: React.FC = ({ item }) => { - + {contextMenuOptions.map((option) => (