import { Linking, Switch, TouchableOpacity, View } from "react-native"; import { Text } from "../common/Text"; import { useSettings } from "@/utils/atoms/settings"; import * as DropdownMenu from "zeego/dropdown-menu"; 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 })} /> Force direct play This will always request direct play. This is good if you want to try to stream movies you think the device supports. updateSettings({ forceDirectPlay: value })} /> Device profile A profile used for deciding what audio and video codecs the device supports. {settings?.deviceProfile} Profiles { updateSettings({ deviceProfile: "Expo" }); }} > Expo { updateSettings({ deviceProfile: "Native" }); }} > Native { updateSettings({ deviceProfile: "Old" }); }} > Old ); };