import { Linking, Switch, TouchableOpacity, View } from "react-native"; import { Text } from "../common/Text"; import { useAtom } from "jotai"; import { useSettings } from "@/utils/atoms/settings"; export const SettingToggles: React.FC = () => { const [settings, updateSettings] = useSettings(); return ( Auto rotate Important on android since the video player orientation is locked to the app orientation. updateSettings({ autoRotate: value })} /> Start videos in fullscreen Clicking a video will start it in fullscreen mode, instead of inline. updateSettings({ openFullScreenVideoPlayerByDefault: value }) } /> Use popular lists plugin Made by: lostb1t { Linking.openURL( "https://github.com/lostb1t/jellyfin-plugin-media-lists", ); }} > More info updateSettings({ usePopularPlugin: value })} /> ); };