From 66fcf022695283268e80855365f10262ae6ec907 Mon Sep 17 00:00:00 2001
From: MohamedBassem <me@mbassem.com>
Date: Sat, 14 Sep 2024 17:08:40 +0100
Subject: feature(mobile): Add settings page for configuring the theme

---
 apps/mobile/app/dashboard/_layout.tsx | 11 +++++++++++
 1 file changed, 11 insertions(+)

(limited to 'apps/mobile/app/dashboard/_layout.tsx')

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>
   );
 }
-- 
cgit v1.2.3-70-g09d2

