diff --git a/components/PlayButton.tsx b/components/PlayButton.tsx index 810724d2..1c8ef122 100644 --- a/components/PlayButton.tsx +++ b/components/PlayButton.tsx @@ -6,7 +6,7 @@ import { BaseItemDto, PlaybackInfoResponse, } from "@jellyfin/sdk/lib/generated-client/models"; -import { View } from "react-native"; +import { TouchableOpacity, View } from "react-native"; import CastContext, { PlayServicesState, useRemoteMediaClient, @@ -83,7 +83,7 @@ export const PlayButton: React.FC = ({ item, url, ...props }) => { }, [item]); return ( - + = ({ item, url, ...props }) => { }} className="absolute w-full h-full top-0 left-0 rounded-xl bg-purple-500 opacity-40" > - + {runtimeTicksToMinutes(item?.RunTimeTicks)} @@ -110,7 +110,6 @@ export const PlayButton: React.FC = ({ item, url, ...props }) => { {client && } - - + ); };