diff --git a/app/(auth)/(tabs)/_layout.tsx b/app/(auth)/(tabs)/_layout.tsx index abaaa82e..1ed67eda 100644 --- a/app/(auth)/(tabs)/_layout.tsx +++ b/app/(auth)/(tabs)/_layout.tsx @@ -12,6 +12,7 @@ import { useTranslation } from "react-i18next"; import { Platform, View } from "react-native"; import { SystemBars } from "react-native-edge-to-edge"; import { Colors } from "@/constants/Colors"; +import { useTVBackHandler } from "@/hooks/useTVBackHandler"; import { useSettings } from "@/utils/atoms/settings"; import { eventBus } from "@/utils/eventBus"; @@ -36,6 +37,9 @@ export default function TabLayout() { const { settings } = useSettings(); const { t } = useTranslation(); + // Handle TV back button - prevent app exit when at root + useTVBackHandler(); + return (