From 9ca852bb7e4f1d91a6653ad679a1c1bd58a385db Mon Sep 17 00:00:00 2001 From: Fredrik Burmester Date: Mon, 5 Jan 2026 21:28:00 +0100 Subject: [PATCH] fix: intro can't be closed on small phones / large zoom --- app/(auth)/(tabs)/(home)/_layout.tsx | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/app/(auth)/(tabs)/(home)/_layout.tsx b/app/(auth)/(tabs)/(home)/_layout.tsx index ecd9ddbe..7c9555d2 100644 --- a/app/(auth)/(tabs)/(home)/_layout.tsx +++ b/app/(auth)/(tabs)/(home)/_layout.tsx @@ -1,7 +1,7 @@ import { Feather, Ionicons } from "@expo/vector-icons"; import { Stack, useRouter } from "expo-router"; import { useTranslation } from "react-i18next"; -import { Platform, TouchableOpacity, View } from "react-native"; +import { Platform, Text, TouchableOpacity, View } from "react-native"; import { nestedTabPageScreenOptions } from "@/components/stacks/NestedTabPageStack"; const Chromecast = Platform.isTV ? null : require("@/components/Chromecast"); @@ -331,11 +331,25 @@ export default function IndexLayout() { ( - _router.back()} className='pl-0.5'> - + headerBlurEffect: "none", + headerTransparent: Platform.OS === "ios", + headerShadowVisible: false, + headerLeft: () => null, + headerRight: () => ( + _router.back()} + style={{ + marginRight: Platform.OS === "android" ? 16 : 0, + paddingHorizontal: 6, + }} + > + + {t("home.intro.done_button")} + ), presentation: "modal",