about summary refs log tree commit diff
path: root/src/Navigation.tsx
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2024-08-01 19:14:32 +0200
committerGitHub <noreply@github.com>2024-08-01 19:14:32 +0200
commitc78e9e31472af42a7920af18186f9ae499595100 (patch)
treeadb5481c1459ba5c0291291795975c52036332bd /src/Navigation.tsx
parent388c157c366e67e0cb3d74e1cd05413ef41b235d (diff)
downloadvoidsky-c78e9e31472af42a7920af18186f9ae499595100.tar.zst
Move theme controls to its own screen (#4866)
Diffstat (limited to 'src/Navigation.tsx')
-rw-r--r--src/Navigation.tsx9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/Navigation.tsx b/src/Navigation.tsx
index 8646577c8..79856879c 100644
--- a/src/Navigation.tsx
+++ b/src/Navigation.tsx
@@ -44,6 +44,7 @@ import HashtagScreen from '#/screens/Hashtag'
 import {ModerationScreen} from '#/screens/Moderation'
 import {ProfileKnownFollowersScreen} from '#/screens/Profile/KnownFollowers'
 import {ProfileLabelerLikedByScreen} from '#/screens/Profile/ProfileLabelerLikedBy'
+import {AppearanceSettingsScreen} from '#/screens/Settings/AppearanceSettings'
 import {
   StarterPackScreen,
   StarterPackScreenShort,
@@ -311,6 +312,14 @@ function commonScreens(Stack: typeof HomeTab, unreadCountLabel?: string) {
         }}
       />
       <Stack.Screen
+        name="AppearanceSettings"
+        getComponent={() => AppearanceSettingsScreen}
+        options={{
+          title: title(msg`Appearance Settings`),
+          requireAuth: true,
+        }}
+      />
+      <Stack.Screen
         name="Hashtag"
         getComponent={() => HashtagScreen}
         options={{title: title(msg`Hashtag`)}}