diff options
author | Ansh <anshnanda10@gmail.com> | 2023-08-30 15:21:12 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-30 15:21:12 -0700 |
commit | 9446c67880331452b3f79dabda183c23718edfa1 (patch) | |
tree | 1bdf1d57434a3095a58aa41b94c38db1fe12ad10 /src/Navigation.tsx | |
parent | a29f10aefe6fa67848ca281a0a7dffc43e292ec6 (diff) | |
download | voidsky-9446c67880331452b3f79dabda183c23718edfa1.tar.zst |
Move `PreferencesHomeFeed` to a screen instead of a modal (#1335)
* move `PreferencesHomeFeed` to a screen instead of a modal * add web route for home feed preferences * upgrade `@miblanchard/react-native-slider` to fix lint * fix web route naming * fix desktop web styling * add `react-native-slider` mock
Diffstat (limited to 'src/Navigation.tsx')
-rw-r--r-- | src/Navigation.tsx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Navigation.tsx b/src/Navigation.tsx index 48bab182d..df601d0cd 100644 --- a/src/Navigation.tsx +++ b/src/Navigation.tsx @@ -67,6 +67,7 @@ import {getRoutingInstrumentation} from 'lib/sentry' import {bskyTitle} from 'lib/strings/headings' import {JSX} from 'react/jsx-runtime' import {timeout} from 'lib/async/timeout' +import {PreferencesHomeFeed} from 'view/screens/PreferencesHomeFeed' const navigationRef = createNavigationContainerRef<AllNavigatorParams>() @@ -219,6 +220,11 @@ function commonScreens(Stack: typeof HomeTab, unreadCountLabel?: string) { component={SavedFeeds} options={{title: title('Edit My Feeds')}} /> + <Stack.Screen + name="PreferencesHomeFeed" + component={PreferencesHomeFeed} + options={{title: title('Home Feed Preferences')}} + /> </> ) } |