Move onboarding to the withAuthRequired HOC
This commit is contained in:
parent
bf37913701
commit
5d9534ca72
9 changed files with 45 additions and 103 deletions
|
@ -67,8 +67,6 @@ import {getRoutingInstrumentation} from 'lib/sentry'
|
|||
import {bskyTitle} from 'lib/strings/headings'
|
||||
import {JSX} from 'react/jsx-runtime'
|
||||
import {timeout} from 'lib/async/timeout'
|
||||
import {RecommendedFeedsScreen} from 'view/screens/onboarding/RecommendedFeeds'
|
||||
import {WelcomeScreen} from 'view/screens/onboarding/Welcome'
|
||||
|
||||
const navigationRef = createNavigationContainerRef<AllNavigatorParams>()
|
||||
|
||||
|
@ -221,22 +219,6 @@ function commonScreens(Stack: typeof HomeTab, unreadCountLabel?: string) {
|
|||
component={SavedFeeds}
|
||||
options={{title: title('Edit My Feeds')}}
|
||||
/>
|
||||
<Stack.Screen
|
||||
name="Welcome"
|
||||
component={WelcomeScreen}
|
||||
options={{
|
||||
title: title('Welcome'),
|
||||
presentation: 'card',
|
||||
gestureEnabled: false,
|
||||
}}
|
||||
/>
|
||||
<Stack.Screen
|
||||
name="RecommendedFeeds"
|
||||
component={RecommendedFeedsScreen}
|
||||
options={{
|
||||
title: title('Recommended Feeds'),
|
||||
}}
|
||||
/>
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue