diff options
| author | MohamedBassem <me@mbassem.com> | 2024-09-14 17:08:40 +0100 |
|---|---|---|
| committer | MohamedBassem <me@mbassem.com> | 2024-09-14 17:36:03 +0100 |
| commit | 66fcf022695283268e80855365f10262ae6ec907 (patch) | |
| tree | 07cc278b1476b9a868f6ecbf8cbfd9ea8ebf56f8 /apps/mobile/app/dashboard/_layout.tsx | |
| parent | b9c7857c5bb16d024fed6544eebf0ef6cd10390f (diff) | |
| download | karakeep-66fcf022695283268e80855365f10262ae6ec907.tar.zst | |
feature(mobile): Add settings page for configuring the theme
Diffstat (limited to 'apps/mobile/app/dashboard/_layout.tsx')
| -rw-r--r-- | apps/mobile/app/dashboard/_layout.tsx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/apps/mobile/app/dashboard/_layout.tsx b/apps/mobile/app/dashboard/_layout.tsx index db4fd251..22d1ed07 100644 --- a/apps/mobile/app/dashboard/_layout.tsx +++ b/apps/mobile/app/dashboard/_layout.tsx @@ -33,6 +33,9 @@ export default function Dashboard() { <StyledStack contentClassName="bg-gray-100 dark:bg-background" headerClassName="bg-gray-100 dark:bg-background text-foreground" + screenOptions={{ + headerTransparent: true, + }} > <Stack.Screen name="(tabs)" @@ -54,6 +57,14 @@ export default function Dashboard() { headerTransparent: true, }} /> + <Stack.Screen + name="settings/theme" + options={{ + title: "Theme", + headerTitle: "Theme", + headerBackTitle: "Back", + }} + /> </StyledStack> ); } |
