import React, { useCallback } from 'react'; import { StyleSheet } from 'react-native'; import Library from './components/Library'; import Cache from './components/Cache'; import useDefaultStyles, { ColoredBlurView } from 'components/Colors'; import { t } from '@localisation'; import { createStackNavigator } from '@react-navigation/stack'; import { useNavigation } from '@react-navigation/native'; import ListButton from 'components/ListButton'; import { THEME_COLOR } from 'CONSTANTS'; import Sentry from './components/Sentry'; import { SettingsNavigationProp } from './types'; import { SafeScrollView } from 'components/SafeNavigatorView'; export function SettingsList() { const navigation = useNavigation(); const handleLibraryClick = useCallback(() => { navigation.navigate('Library'); }, [navigation]); const handleCacheClick = useCallback(() => { navigation.navigate('Cache'); }, [navigation]); const handleSentryClick = useCallback(() => { navigation.navigate('Sentry'); }, [navigation]); return ( {t('jellyfin-library')} {t('setting-cache')} {t('error-reporting')} ); } const Stack = createStackNavigator(); export default function Settings() { const defaultStyles = useDefaultStyles(); return ( , }}> ); }