This commit is contained in:
sarendsen
2025-01-30 09:20:31 +01:00
parent 3cd8e41000
commit bd0768797e
11 changed files with 16 additions and 450 deletions

View File

@@ -1,3 +1,4 @@
import { Platform } from "react-native";
import { apiAtom, userAtom } from "@/providers/JellyfinProvider";
import { itemThemeColorAtom } from "@/utils/atoms/primaryColor";
import { useSettings } from "@/utils/atoms/settings";
@@ -31,7 +32,9 @@ import Animated, {
} from "react-native-reanimated";
import { Button } from "./Button";
import { SelectedOptions } from "./ItemContent";
import { chromecastProfile } from "@/utils/profiles/chromecast";
const chromecastProfile = !Platform.isTV
? require("@/utils/profiles/chromecast")
: null;
import * as Haptics from "@/packages/expo-haptics";
interface Props extends React.ComponentProps<typeof Button> {