Fork StarterPackWizard into FeedWizard

This commit is contained in:
Dan Abramov
2024-10-22 21:27:01 +01:00
parent 8cc8df6171
commit d86805f532
11 changed files with 1121 additions and 4 deletions
+11
View File
@@ -76,6 +76,7 @@ import {TermsOfServiceScreen} from '#/view/screens/TermsOfService'
import {BottomBar} from '#/view/shell/bottom-bar/BottomBar'
import {createNativeStackNavigatorWithAuth} from '#/view/shell/createNativeStackNavigatorWithAuth'
import {SharedPreferencesTesterScreen} from '#/screens/E2E/SharedPreferencesTesterScreen'
import {Wizard as FeedsWizard} from '#/screens/Feeds/Wizard'
import HashtagScreen from '#/screens/Hashtag'
import {MessagesScreen} from '#/screens/Messages/ChatList'
import {MessagesConversationScreen} from '#/screens/Messages/Conversation'
@@ -351,6 +352,16 @@ function commonScreens(Stack: typeof HomeTab, unreadCountLabel?: string) {
getComponent={() => FeedsScreen}
options={{title: title(msg`Feeds`)}}
/>
<Stack.Screen
name="FeedsWizard"
getComponent={() => FeedsWizard}
options={{title: title(msg`Create a feed`), requireAuth: true}}
/>
<Stack.Screen
name="FeedsEdit"
getComponent={() => FeedsWizard}
options={{title: title(msg`Edit your feed`), requireAuth: true}}
/>
<Stack.Screen
name="StarterPack"
getComponent={() => StarterPackScreen}