Files
streamyfin/app/(auth)/(tabs)/(settings)/_layout.tsx
Fredrik Burmester 15e4c18d54 fix(tvos): settings
2026-01-16 08:42:53 +01:00

22 lines
535 B
TypeScript

import { Stack } from "expo-router";
import { useTranslation } from "react-i18next";
import { Platform } from "react-native";
export default function SettingsLayout() {
const { t } = useTranslation();
return (
<Stack>
<Stack.Screen
name='index'
options={{
headerShown: !Platform.isTV,
headerTitle: t("tabs.settings"),
headerBlurEffect: "none",
headerTransparent: Platform.OS === "ios",
headerShadowVisible: false,
}}
/>
</Stack>
);
}