import { Stack } from 'expo-router'; import { Pressable, Text } from 'react-native'; import { useTranslation } from 'react-i18next'; import { useRouter } from 'expo-router'; export default function AppLayout() { const router = useRouter(); const { t } = useTranslation(); return ( ( router.push('/(app)/settings')} hitSlop={10} > {t('home.settings')} ), headerLeft: () => ( router.push('/(app)/favorites')} hitSlop={10}> {t('home.favorites')} ), }} /> ); }