rm navigation

This commit is contained in:
Hailey
2024-06-12 10:19:13 -07:00
parent 4e84a65b65
commit 2df0e2c706
4 changed files with 3 additions and 10 deletions
-6
View File
@@ -43,7 +43,6 @@ import HashtagScreen from '#/screens/Hashtag'
import {ModerationScreen} from '#/screens/Moderation'
import {ProfileKnownFollowersScreen} from '#/screens/Profile/KnownFollowers'
import {ProfileLabelerLikedByScreen} from '#/screens/Profile/ProfileLabelerLikedBy'
import {LandingScreen} from '#/screens/StarterPack/Landing'
import {StarterPackScreen} from '#/screens/StarterPack/Main'
import {Wizard} from '#/screens/StarterPack/Wizard'
import {init as initAnalytics} from './lib/analytics/analytics'
@@ -322,11 +321,6 @@ function commonScreens(Stack: typeof HomeTab, unreadCountLabel?: string) {
getComponent={() => StarterPackScreen}
options={{title: title(msg`Starter Pack`), requireAuth: true}}
/>
<Stack.Screen
name="StarterPackLanding"
getComponent={() => LandingScreen}
options={{title: title(msg`Join Bluesky Today!`)}}
/>
<Stack.Screen
name="StarterPackWizard"
getComponent={() => Wizard}
-2
View File
@@ -43,7 +43,6 @@ export type CommonNavigatorParams = {
MessagesSettings: undefined
Feeds: undefined
StarterPack: {name: string; rkey: string}
StarterPackLanding: {name: string; rkey: string}
StarterPackWizard: {
name?: string
rkey?: string
@@ -100,7 +99,6 @@ export type AllNavigatorParams = CommonNavigatorParams & {
MessagesTab: undefined
Messages: {animation?: 'push' | 'pop'}
StarterPack: {name: string; rkey: string}
StarterPackLanding: {name: string; rkey: string}
StarterPackWizard: {
name?: string
rkey?: string
-1
View File
@@ -42,7 +42,6 @@ export const router = new Router({
MessagesSettings: '/messages/settings',
MessagesConversation: '/messages/:conversation',
StarterPack: '/starter-pack/:name/:rkey',
StarterPackLanding: '/start/:name/:rkey',
StarterPackWizard: [
'/starter-pack/create/:name/:rkey',
'/starter-pack/create',
+3 -1
View File
@@ -137,7 +137,9 @@ export function LoggedOut({onDismiss}: {onDismiss?: () => void}) {
</Pressable>
) : null}
{screenState === ScreenState.S_LoginOrCreateAccount ? (
{screenState === ScreenState.S_StarterPack ? (
<View />
) : screenState === ScreenState.S_LoginOrCreateAccount ? (
<SplashScreen
onPressSignin={() => {
setScreenState(ScreenState.S_Login)