From 14d913d269e2dd3ce96866e5903c015d66f6408b Mon Sep 17 00:00:00 2001 From: Eli Mallon Date: Sat, 30 May 2026 19:40:34 -0700 Subject: [PATCH] settings: fix top squishing --- js/app/src/shell.tsx | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/js/app/src/shell.tsx b/js/app/src/shell.tsx index 0268bf4c6..74752a2a5 100644 --- a/js/app/src/shell.tsx +++ b/js/app/src/shell.tsx @@ -243,26 +243,28 @@ function SettingsNavigator() { const z = useTheme(); const isNative = Platform.OS !== "web"; const headerScreenOptions = { + ...baseScreenOptions, + headerTransparent: Platform.OS === "ios", + headerBackButtonDisplayMode: "minimal" as const, headerShown: true, - headerLeft: isNative - ? undefined - : ({ canGoBack }: NativeStackHeaderBackProps) => ( - - ), - headerRight: () => , - ...(isNative && { - headerTransparent: true, - }), - headerTitleStyle: { - fontFamily: z.theme.typography.universal.base.fontFamily, - }, + // headerLeft: isNative + // ? undefined + // : ({ canGoBack }: NativeStackHeaderBackProps) => ( + // + // ), + // headerRight: () => , + // ...(isNative && { + // headerTransparent: true, + // }), + // headerTitleStyle: { + // fontFamily: z.theme.typography.universal.base.fontFamily, + // marginBottom: 100, + // }, }; return ( -- 2.51.2