aboutsummaryrefslogtreecommitdiffstats
path: root/apps/mobile/app/_layout.tsx
diff options
context:
space:
mode:
authorMohamedBassem <me@mbassem.com>2024-09-14 20:32:16 +0100
committerMohamedBassem <me@mbassem.com>2024-09-14 20:32:16 +0100
commit3452e47c94a55a525620c244f57edb9482989d1c (patch)
tree2c3bfa60b12a41de15ad436fbd41c08a9ddac6c7 /apps/mobile/app/_layout.tsx
parent66fcf022695283268e80855365f10262ae6ec907 (diff)
downloadkarakeep-3452e47c94a55a525620c244f57edb9482989d1c.tar.zst
feature(mobile): Add a page for testing connection to server
Diffstat (limited to 'apps/mobile/app/_layout.tsx')
-rw-r--r--apps/mobile/app/_layout.tsx9
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/mobile/app/_layout.tsx b/apps/mobile/app/_layout.tsx
index 41186842..677a0638 100644
--- a/apps/mobile/app/_layout.tsx
+++ b/apps/mobile/app/_layout.tsx
@@ -48,10 +48,19 @@ export default function RootLayout() {
contentClassName="bg-gray-100 dark:bg-background"
screenOptions={{
headerShown: false,
+ headerTransparent: true,
}}
>
<Stack.Screen name="index" />
<Stack.Screen name="sharing" />
+ <Stack.Screen
+ name="test-connection"
+ options={{
+ title: "Test Connection",
+ headerShown: true,
+ presentation: "modal",
+ }}
+ />
</StyledStack>
<StatusBar style="auto" />
</View>