diff options
Diffstat (limited to 'src/Navigation.tsx')
-rw-r--r-- | src/Navigation.tsx | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/Navigation.tsx b/src/Navigation.tsx index 48bab182d..058a15fa2 100644 --- a/src/Navigation.tsx +++ b/src/Navigation.tsx @@ -67,6 +67,8 @@ import {getRoutingInstrumentation} from 'lib/sentry' import {bskyTitle} from 'lib/strings/headings' import {JSX} from 'react/jsx-runtime' import {timeout} from 'lib/async/timeout' +import {Welcome, WelcomeHeaderRight} from 'view/com/auth/onboarding/Welcome' +import {RecommendedFeeds} from 'view/com/auth/onboarding/RecommendedFeeds' const navigationRef = createNavigationContainerRef<AllNavigatorParams>() @@ -219,6 +221,26 @@ function commonScreens(Stack: typeof HomeTab, unreadCountLabel?: string) { component={SavedFeeds} options={{title: title('Edit My Feeds')}} /> + <Stack.Screen + name="Welcome" + component={Welcome} + options={{ + title: title('Welcome'), + presentation: 'card', + headerShown: true, + headerTransparent: true, + headerTitle: '', + headerBackVisible: false, + headerRight: props => <WelcomeHeaderRight {...props} />, + }} + /> + <Stack.Screen + name="RecommendedFeeds" + component={RecommendedFeeds} + options={{ + title: title('Recommended Feeds'), + }} + /> </> ) } @@ -254,6 +276,7 @@ function TabsNavigator() { function HomeTabNavigator() { const contentStyle = useColorSchemeStyle(styles.bgLight, styles.bgDark) + return ( <HomeTab.Navigator screenOptions={{ |