import React, { useCallback } from 'react'; import { View, Text, SafeAreaView, Button, StyleSheet } from 'react-native'; import { ScrollView } from 'react-native-gesture-handler'; import styled from 'styled-components/native'; import { useSelector } from 'react-redux'; import { AppState } from 'store'; import { useNavigation } from '@react-navigation/native'; import { NavigationProp } from '..'; import { THEME_COLOR } from 'CONSTANTS'; import { Header } from 'components/Typography'; import { colors } from 'components/Colors'; const InputContainer = styled.View` margin: 10px 0; `; const Input = styled.TextInput` padding: 15px; margin-top: 5px; border-radius: 5px; `; export default function Settings() { const { jellyfin, bitrate } = useSelector((state: AppState) => state.settings); const navigation = useNavigation(); const handleClick = useCallback(() => navigation.navigate('SetJellyfinServer'), [navigation]); return (
Settings
Jellyfin Server URL Jellyfin Access Token Jellyfin User ID