diff --git a/src/lib/build-flags.ts b/src/lib/build-flags.ts
index f85cbd9f84..cf05114e02 100644
--- a/src/lib/build-flags.ts
+++ b/src/lib/build-flags.ts
@@ -1,3 +1,2 @@
export const LOGIN_INCLUDE_DEV_SERVERS = true
export const PWI_ENABLED = true
-export const NEW_ONBOARDING_ENABLED = true
diff --git a/src/view/com/auth/Onboarding.tsx b/src/view/com/auth/Onboarding.tsx
deleted file mode 100644
index bdb7f27c81..0000000000
--- a/src/view/com/auth/Onboarding.tsx
+++ /dev/null
@@ -1,51 +0,0 @@
-import React from 'react'
-import {SafeAreaView, Platform} from 'react-native'
-import {ErrorBoundary} from 'view/com/util/ErrorBoundary'
-import {s} from 'lib/styles'
-import {usePalette} from 'lib/hooks/usePalette'
-import {Welcome} from './onboarding/Welcome'
-import {RecommendedFeeds} from './onboarding/RecommendedFeeds'
-import {RecommendedFollows} from './onboarding/RecommendedFollows'
-import {useSetMinimalShellMode} from '#/state/shell/minimal-mode'
-import {useOnboardingState, useOnboardingDispatch} from '#/state/shell'
-
-export function Onboarding() {
- const pal = usePalette('default')
- const setMinimalShellMode = useSetMinimalShellMode()
- const onboardingState = useOnboardingState()
- const onboardingDispatch = useOnboardingDispatch()
-
- React.useEffect(() => {
- setMinimalShellMode(true)
- }, [setMinimalShellMode])
-
- const next = () => onboardingDispatch({type: 'next'})
- const skip = () => onboardingDispatch({type: 'skip'})
-
- return (
-
-
- {onboardingState.step === 'Welcome' && (
-
- )}
- {onboardingState.step === 'RecommendedFeeds' && (
-
- )}
- {onboardingState.step === 'RecommendedFollows' && (
-
- )}
-
-
- )
-}
diff --git a/src/view/com/auth/onboarding/RecommendedFeeds.tsx b/src/view/com/auth/onboarding/RecommendedFeeds.tsx
deleted file mode 100644
index 95f8502f81..0000000000
--- a/src/view/com/auth/onboarding/RecommendedFeeds.tsx
+++ /dev/null
@@ -1,211 +0,0 @@
-import React from 'react'
-import {ActivityIndicator, FlatList, StyleSheet, View} from 'react-native'
-import {FontAwesomeIcon} from '@fortawesome/react-native-fontawesome'
-import {msg, Trans} from '@lingui/macro'
-import {useLingui} from '@lingui/react'
-
-import {useSuggestedFeedsQuery} from '#/state/queries/suggested-feeds'
-import {usePalette} from 'lib/hooks/usePalette'
-import {useWebMediaQueries} from 'lib/hooks/useWebMediaQueries'
-import {ErrorMessage} from 'view/com/util/error/ErrorMessage'
-import {Button} from 'view/com/util/forms/Button'
-import {Mobile, TabletOrDesktop} from 'view/com/util/layouts/Breakpoints'
-import {TitleColumnLayout} from 'view/com/util/layouts/TitleColumnLayout'
-import {Text} from 'view/com/util/text/Text'
-import {ViewHeader} from 'view/com/util/ViewHeader'
-import {RecommendedFeedsItem} from './RecommendedFeedsItem'
-
-type Props = {
- next: () => void
-}
-export function RecommendedFeeds({next}: Props) {
- const pal = usePalette('default')
- const {_} = useLingui()
- const {isTabletOrMobile} = useWebMediaQueries()
- const {isLoading, data} = useSuggestedFeedsQuery()
-
- const hasFeeds = data && data.pages[0].feeds.length
-
- const title = (
- <>
-
-
- Choose your
-
-
- Recommended
-
-
- Feeds
-
-
-
-
- Feeds are created by users to curate content. Choose some feeds that
- you find interesting.
-
-
-
-
-
- >
- )
-
- return (
- <>
-
-
- {hasFeeds ? (
- }
- keyExtractor={item => item.uri}
- style={{flex: 1}}
- />
- ) : isLoading ? (
-
-
-
- ) : (
-
- )}
-
-
-
-
-
-
-
- Check out some recommended feeds. Tap + to add them to your list
- of pinned feeds.
-
-
-
- {hasFeeds ? (
- }
- keyExtractor={item => item.uri}
- style={{flex: 1}}
- showsVerticalScrollIndicator={false}
- />
- ) : isLoading ? (
-
-
-
- ) : (
-
-
-
- )}
-
-
-
-
- >
- )
-}
-
-const tdStyles = StyleSheet.create({
- container: {
- flex: 1,
- marginHorizontal: 16,
- justifyContent: 'space-between',
- },
- title1: {
- fontSize: 36,
- fontWeight: '800',
- textAlign: 'right',
- },
- title1Small: {
- fontSize: 24,
- },
- title2: {
- fontSize: 58,
- fontWeight: '800',
- textAlign: 'right',
- },
- title2Small: {
- fontSize: 36,
- },
- description: {
- maxWidth: 400,
- marginTop: 10,
- marginLeft: 'auto',
- textAlign: 'right',
- },
-})
-
-const mStyles = StyleSheet.create({
- container: {
- flex: 1,
- justifyContent: 'space-between',
- },
- header: {
- marginBottom: 16,
- marginHorizontal: 16,
- },
- button: {
- marginBottom: 16,
- marginHorizontal: 16,
- marginTop: 16,
- alignItems: 'center',
- },
- buttonText: {
- textAlign: 'center',
- fontSize: 18,
- paddingVertical: 4,
- },
-})
diff --git a/src/view/com/auth/onboarding/RecommendedFeedsItem.tsx b/src/view/com/auth/onboarding/RecommendedFeedsItem.tsx
deleted file mode 100644
index ea3e1f725d..0000000000
--- a/src/view/com/auth/onboarding/RecommendedFeedsItem.tsx
+++ /dev/null
@@ -1,172 +0,0 @@
-import React from 'react'
-import {View} from 'react-native'
-import {FontAwesomeIcon} from '@fortawesome/react-native-fontawesome'
-import {AppBskyFeedDefs, RichText as BskRichText} from '@atproto/api'
-import {Text} from 'view/com/util/text/Text'
-import {RichText} from 'view/com/util/text/RichText'
-import {Button} from 'view/com/util/forms/Button'
-import {UserAvatar} from 'view/com/util/UserAvatar'
-import * as Toast from 'view/com/util/Toast'
-import {HeartIcon} from 'lib/icons'
-import {usePalette} from 'lib/hooks/usePalette'
-import {useWebMediaQueries} from 'lib/hooks/useWebMediaQueries'
-import {sanitizeHandle} from 'lib/strings/handles'
-import {
- usePreferencesQuery,
- usePinFeedMutation,
- useRemoveFeedMutation,
-} from '#/state/queries/preferences'
-import {logger} from '#/logger'
-import {useAnalytics} from '#/lib/analytics/analytics'
-import {Trans, msg} from '@lingui/macro'
-import {useLingui} from '@lingui/react'
-
-export function RecommendedFeedsItem({
- item,
-}: {
- item: AppBskyFeedDefs.GeneratorView
-}) {
- const {isMobile} = useWebMediaQueries()
- const pal = usePalette('default')
- const {_} = useLingui()
- const {data: preferences} = usePreferencesQuery()
- const {
- mutateAsync: pinFeed,
- variables: pinnedFeed,
- reset: resetPinFeed,
- } = usePinFeedMutation()
- const {
- mutateAsync: removeFeed,
- variables: removedFeed,
- reset: resetRemoveFeed,
- } = useRemoveFeedMutation()
- const {track} = useAnalytics()
-
- if (!item || !preferences) return null
-
- const isPinned =
- !removedFeed?.uri &&
- (pinnedFeed?.uri || preferences.feeds.saved.includes(item.uri))
-
- const onToggle = async () => {
- if (isPinned) {
- try {
- await removeFeed({uri: item.uri})
- resetRemoveFeed()
- } catch (e) {
- Toast.show(_(msg`There was an issue contacting your server`))
- logger.error('Failed to unsave feed', {message: e})
- }
- } else {
- try {
- await pinFeed({uri: item.uri})
- resetPinFeed()
- track('Onboarding:CustomFeedAdded')
- } catch (e) {
- Toast.show(_(msg`There was an issue contacting your server`))
- logger.error('Failed to pin feed', {message: e})
- }
- }
- }
-
- return (
-
-
-
-
-
-
-
- {item.displayName}
-
-
-
- by {sanitizeHandle(item.creator.handle, '@')}
-
-
- {item.description ? (
-
- ) : null}
-
-
-
-
-
-
-
- {item.likeCount || 0}
-
-
-
-
-
-
- )
-}
diff --git a/src/view/com/auth/onboarding/RecommendedFollows.tsx b/src/view/com/auth/onboarding/RecommendedFollows.tsx
deleted file mode 100644
index a840f949e4..0000000000
--- a/src/view/com/auth/onboarding/RecommendedFollows.tsx
+++ /dev/null
@@ -1,272 +0,0 @@
-import React from 'react'
-import {ActivityIndicator, FlatList, StyleSheet, View} from 'react-native'
-import {AppBskyActorDefs, moderateProfile} from '@atproto/api'
-import {FontAwesomeIcon} from '@fortawesome/react-native-fontawesome'
-import {msg, Trans} from '@lingui/macro'
-import {useLingui} from '@lingui/react'
-
-import {logger} from '#/logger'
-import {useModerationOpts} from '#/state/queries/preferences'
-import {useSuggestedFollowsQuery} from '#/state/queries/suggested-follows'
-import {useGetSuggestedFollowersByActor} from '#/state/queries/suggested-follows'
-import {usePalette} from 'lib/hooks/usePalette'
-import {useWebMediaQueries} from 'lib/hooks/useWebMediaQueries'
-import {Button} from 'view/com/util/forms/Button'
-import {Mobile, TabletOrDesktop} from 'view/com/util/layouts/Breakpoints'
-import {TitleColumnLayout} from 'view/com/util/layouts/TitleColumnLayout'
-import {Text} from 'view/com/util/text/Text'
-import {ViewHeader} from 'view/com/util/ViewHeader'
-import {RecommendedFollowsItem} from './RecommendedFollowsItem'
-
-type Props = {
- next: () => void
-}
-export function RecommendedFollows({next}: Props) {
- const pal = usePalette('default')
- const {_} = useLingui()
- const {isTabletOrMobile} = useWebMediaQueries()
- const {data: suggestedFollows} = useSuggestedFollowsQuery()
- const getSuggestedFollowsByActor = useGetSuggestedFollowersByActor()
- const [additionalSuggestions, setAdditionalSuggestions] = React.useState<{
- [did: string]: AppBskyActorDefs.ProfileView[]
- }>({})
- const existingDids = React.useRef([])
- const moderationOpts = useModerationOpts()
-
- const title = (
- <>
-
-
- Follow some
-
-
- Recommended
-
-
- Users
-
-
-
-
- Follow some users to get started. We can recommend you more users
- based on who you find interesting.
-
-
-
-
-
- >
- )
-
- const suggestions = React.useMemo(() => {
- if (!suggestedFollows) return []
-
- const additional = Object.entries(additionalSuggestions)
- const items = suggestedFollows.pages.flatMap(page => page.actors)
-
- outer: while (additional.length) {
- const additionalAccount = additional.shift()
-
- if (!additionalAccount) break
-
- const [followedUser, relatedAccounts] = additionalAccount
-
- for (let i = 0; i < items.length; i++) {
- if (items[i].did === followedUser) {
- items.splice(i + 1, 0, ...relatedAccounts)
- continue outer
- }
- }
- }
-
- existingDids.current = items.map(i => i.did)
-
- return items
- }, [suggestedFollows, additionalSuggestions])
-
- const onFollowStateChange = React.useCallback(
- async ({following, did}: {following: boolean; did: string}) => {
- if (following) {
- try {
- const {suggestions: results} = await getSuggestedFollowsByActor(did)
-
- if (results.length) {
- const deduped = results.filter(
- r => !existingDids.current.find(did => did === r.did),
- )
- setAdditionalSuggestions(s => ({
- ...s,
- [did]: deduped.slice(0, 3),
- }))
- }
- } catch (e) {
- logger.error('RecommendedFollows: failed to get suggestions', {
- message: e,
- })
- }
- }
-
- // not handling the unfollow case
- },
- [existingDids, getSuggestedFollowsByActor, setAdditionalSuggestions],
- )
-
- return (
- <>
-
-
- {!suggestedFollows || !moderationOpts ? (
-
- ) : (
- (
-
- )}
- keyExtractor={item => item.did}
- style={{flex: 1}}
- />
- )}
-
-
-
-
-
-
-
-
-
- Check out some recommended users. Follow them to see similar
- users.
-
-
-
- {!suggestedFollows || !moderationOpts ? (
-
- ) : (
- (
-
- )}
- keyExtractor={item => item.did}
- style={{flex: 1}}
- showsVerticalScrollIndicator={false}
- />
- )}
-
-
-
- >
- )
-}
-
-const tdStyles = StyleSheet.create({
- container: {
- flex: 1,
- marginHorizontal: 16,
- justifyContent: 'space-between',
- },
- title1: {
- fontSize: 36,
- fontWeight: '800',
- textAlign: 'right',
- },
- title1Small: {
- fontSize: 24,
- },
- title2: {
- fontSize: 58,
- fontWeight: '800',
- textAlign: 'right',
- },
- title2Small: {
- fontSize: 36,
- },
- description: {
- maxWidth: 400,
- marginTop: 10,
- marginLeft: 'auto',
- textAlign: 'right',
- },
-})
-
-const mStyles = StyleSheet.create({
- container: {
- flex: 1,
- justifyContent: 'space-between',
- },
- header: {
- marginBottom: 16,
- marginHorizontal: 16,
- },
- button: {
- marginBottom: 16,
- marginHorizontal: 16,
- marginTop: 16,
- alignItems: 'center',
- },
- buttonText: {
- textAlign: 'center',
- fontSize: 18,
- paddingVertical: 4,
- },
-})
diff --git a/src/view/com/auth/onboarding/RecommendedFollowsItem.tsx b/src/view/com/auth/onboarding/RecommendedFollowsItem.tsx
deleted file mode 100644
index dba3f8c569..0000000000
--- a/src/view/com/auth/onboarding/RecommendedFollowsItem.tsx
+++ /dev/null
@@ -1,202 +0,0 @@
-import React from 'react'
-import {View, StyleSheet, ActivityIndicator} from 'react-native'
-import {ModerationDecision, AppBskyActorDefs} from '@atproto/api'
-import {Button} from '#/view/com/util/forms/Button'
-import {usePalette} from 'lib/hooks/usePalette'
-import {sanitizeDisplayName} from 'lib/strings/display-names'
-import {sanitizeHandle} from 'lib/strings/handles'
-import {s} from 'lib/styles'
-import {UserAvatar} from 'view/com/util/UserAvatar'
-import {Text} from 'view/com/util/text/Text'
-import Animated, {FadeInRight} from 'react-native-reanimated'
-import {useWebMediaQueries} from 'lib/hooks/useWebMediaQueries'
-import {useAnalytics} from 'lib/analytics/analytics'
-import {useLingui} from '@lingui/react'
-import {Trans, msg} from '@lingui/macro'
-import {Shadow, useProfileShadow} from '#/state/cache/profile-shadow'
-import {useProfileFollowMutationQueue} from '#/state/queries/profile'
-import {logger} from '#/logger'
-
-type Props = {
- profile: AppBskyActorDefs.ProfileViewBasic
- moderation: ModerationDecision
- onFollowStateChange: (props: {
- did: string
- following: boolean
- }) => Promise
-}
-
-export function RecommendedFollowsItem({
- profile,
- moderation,
- onFollowStateChange,
-}: React.PropsWithChildren) {
- const pal = usePalette('default')
- const {isMobile} = useWebMediaQueries()
- const shadowedProfile = useProfileShadow(profile)
-
- return (
-
-
-
- )
-}
-
-function ProfileCard({
- profile,
- onFollowStateChange,
- moderation,
-}: {
- profile: Shadow
- moderation: ModerationDecision
- onFollowStateChange: (props: {
- did: string
- following: boolean
- }) => Promise
-}) {
- const {track} = useAnalytics()
- const pal = usePalette('default')
- const {_} = useLingui()
- const [addingMoreSuggestions, setAddingMoreSuggestions] =
- React.useState(false)
- const [queueFollow, queueUnfollow] = useProfileFollowMutationQueue(
- profile,
- 'RecommendedFollowsItem',
- )
-
- const onToggleFollow = React.useCallback(async () => {
- try {
- if (profile.viewer?.following) {
- await queueUnfollow()
- } else {
- setAddingMoreSuggestions(true)
- await queueFollow()
- await onFollowStateChange({did: profile.did, following: true})
- setAddingMoreSuggestions(false)
- track('Onboarding:SuggestedFollowFollowed')
- }
- } catch (e: any) {
- if (e?.name !== 'AbortError') {
- logger.error('RecommendedFollows: failed to toggle following', {
- message: e,
- })
- }
- } finally {
- setAddingMoreSuggestions(false)
- }
- }, [
- profile,
- queueFollow,
- queueUnfollow,
- setAddingMoreSuggestions,
- track,
- onFollowStateChange,
- ])
-
- return (
-
-
-
-
-
-
-
- {sanitizeDisplayName(
- profile.displayName || sanitizeHandle(profile.handle),
- moderation.ui('displayName'),
- )}
-
-
- {sanitizeHandle(profile.handle, '@')}
-
-
-
-
-
- {profile.description ? (
-
-
- {profile.description as string}
-
-
- ) : undefined}
- {addingMoreSuggestions ? (
-
-
-
- Finding similar accounts...
-
-
- ) : null}
-
- )
-}
-
-const styles = StyleSheet.create({
- cardContainer: {
- borderTopWidth: 1,
- },
- card: {
- paddingHorizontal: 10,
- },
- layout: {
- flexDirection: 'row',
- alignItems: 'center',
- },
- layoutAvi: {
- width: 54,
- paddingLeft: 4,
- paddingTop: 8,
- paddingBottom: 10,
- },
- layoutContent: {
- flex: 1,
- paddingRight: 10,
- paddingTop: 10,
- paddingBottom: 10,
- },
- details: {
- paddingLeft: 54,
- paddingRight: 10,
- paddingBottom: 10,
- },
- addingMoreContainer: {
- flexDirection: 'row',
- alignItems: 'center',
- paddingLeft: 54,
- paddingTop: 4,
- paddingBottom: 12,
- gap: 4,
- },
- followButton: {
- fontSize: 16,
- },
-})
diff --git a/src/view/com/auth/onboarding/Welcome.tsx b/src/view/com/auth/onboarding/Welcome.tsx
deleted file mode 100644
index b44b58f843..0000000000
--- a/src/view/com/auth/onboarding/Welcome.tsx
+++ /dev/null
@@ -1,10 +0,0 @@
-import 'react'
-import {withBreakpoints} from 'view/com/util/layouts/withBreakpoints'
-import {WelcomeDesktop} from './WelcomeDesktop'
-import {WelcomeMobile} from './WelcomeMobile'
-
-export const Welcome = withBreakpoints(
- WelcomeMobile,
- WelcomeDesktop,
- WelcomeDesktop,
-)
diff --git a/src/view/com/auth/onboarding/WelcomeDesktop.tsx b/src/view/com/auth/onboarding/WelcomeDesktop.tsx
deleted file mode 100644
index fdb31197c0..0000000000
--- a/src/view/com/auth/onboarding/WelcomeDesktop.tsx
+++ /dev/null
@@ -1,126 +0,0 @@
-import React from 'react'
-import {StyleSheet, View} from 'react-native'
-import {useMediaQuery} from 'react-responsive'
-import {Text} from 'view/com/util/text/Text'
-import {s} from 'lib/styles'
-import {usePalette} from 'lib/hooks/usePalette'
-import {FontAwesomeIcon} from '@fortawesome/react-native-fontawesome'
-import {TitleColumnLayout} from 'view/com/util/layouts/TitleColumnLayout'
-import {Button} from 'view/com/util/forms/Button'
-import {Trans} from '@lingui/macro'
-
-type Props = {
- next: () => void
- skip: () => void
-}
-
-export function WelcomeDesktop({next}: Props) {
- const pal = usePalette('default')
- const horizontal = useMediaQuery({minWidth: 1300})
- const title = (
-
-
- Welcome to
-
-
- Bluesky
-
-
- )
- return (
-
-
-
-
-
- Bluesky is public.
-
-
-
- Your posts, likes, and blocks are public. Mutes are private.
-
-
-
-
-
-
-
-
- Bluesky is open.
-
-
- Never lose access to your followers and data.
-
-
-
-
-
-
-
- Bluesky is flexible.
-
-
-
- Choose the algorithms that power your experience with custom
- feeds.
-
-
-
-
-
-
-
-
-
- )
-}
-
-const styles = StyleSheet.create({
- row: {
- flexDirection: 'row',
- columnGap: 20,
- alignItems: 'center',
- marginVertical: 20,
- },
- rowText: {
- flex: 1,
- },
- spacer: {
- height: 20,
- },
-})
diff --git a/src/view/com/auth/onboarding/WelcomeMobile.tsx b/src/view/com/auth/onboarding/WelcomeMobile.tsx
deleted file mode 100644
index b8659d56cd..0000000000
--- a/src/view/com/auth/onboarding/WelcomeMobile.tsx
+++ /dev/null
@@ -1,136 +0,0 @@
-import React from 'react'
-import {Pressable, StyleSheet, View} from 'react-native'
-import {Text} from 'view/com/util/text/Text'
-import {s} from 'lib/styles'
-import {usePalette} from 'lib/hooks/usePalette'
-import {FontAwesomeIcon} from '@fortawesome/react-native-fontawesome'
-import {Button} from 'view/com/util/forms/Button'
-import {ViewHeader} from 'view/com/util/ViewHeader'
-import {useLingui} from '@lingui/react'
-import {Trans, msg} from '@lingui/macro'
-
-type Props = {
- next: () => void
- skip: () => void
-}
-
-export function WelcomeMobile({next, skip}: Props) {
- const pal = usePalette('default')
- const {_} = useLingui()
-
- return (
-
- {
- return (
-
-
- Skip
-
-
-
- )
- }}
- />
-
-
-
- Welcome to{' '}
- Bluesky
-
-
-
-
-
-
-
- Bluesky is public.
-
-
-
- Your posts, likes, and blocks are public. Mutes are private.
-
-
-
-
-
-
-
-
- Bluesky is open.
-
-
- Never lose access to your followers and data.
-
-
-
-
-
-
-
- Bluesky is flexible.
-
-
-
- Choose the algorithms that power your experience with custom
- feeds.
-
-
-
-
-
-
-
-
- )
-}
-
-const styles = StyleSheet.create({
- container: {
- flex: 1,
- marginBottom: 60,
- marginHorizontal: 16,
- justifyContent: 'space-between',
- },
- title: {
- fontSize: 42,
- fontWeight: '800',
- },
- row: {
- flexDirection: 'row',
- columnGap: 20,
- alignItems: 'center',
- marginVertical: 20,
- },
- rowText: {
- flex: 1,
- },
- spacer: {
- height: 20,
- },
- buttonContainer: {
- alignItems: 'center',
- },
- buttonText: {
- textAlign: 'center',
- fontSize: 18,
- marginVertical: 4,
- },
-})
diff --git a/src/view/shell/createNativeStackNavigatorWithAuth.tsx b/src/view/shell/createNativeStackNavigatorWithAuth.tsx
index 938213c313..882fdbe6e2 100644
--- a/src/view/shell/createNativeStackNavigatorWithAuth.tsx
+++ b/src/view/shell/createNativeStackNavigatorWithAuth.tsx
@@ -1,11 +1,8 @@
import * as React from 'react'
import {View} from 'react-native'
-import {PWI_ENABLED, NEW_ONBOARDING_ENABLED} from '#/lib/build-flags'
-
// Based on @react-navigation/native-stack/src/createNativeStackNavigator.ts
// MIT License
// Copyright (c) 2017 React Navigation Contributors
-
import {
createNavigatorFactory,
EventArg,
@@ -21,24 +18,24 @@ import type {
NativeStackNavigationEventMap,
NativeStackNavigationOptions,
} from '@react-navigation/native-stack'
-import type {NativeStackNavigatorProps} from '@react-navigation/native-stack/src/types'
import {NativeStackView} from '@react-navigation/native-stack'
+import type {NativeStackNavigatorProps} from '@react-navigation/native-stack/src/types'
-import {BottomBarWeb} from './bottom-bar/BottomBarWeb'
-import {DesktopLeftNav} from './desktop/LeftNav'
-import {DesktopRightNav} from './desktop/RightNav'
+import {PWI_ENABLED} from '#/lib/build-flags'
import {useWebMediaQueries} from '#/lib/hooks/useWebMediaQueries'
+import {useSession} from '#/state/session'
import {useOnboardingState} from '#/state/shell'
import {
useLoggedOutView,
useLoggedOutViewControls,
} from '#/state/shell/logged-out'
-import {useSession} from '#/state/session'
import {isWeb} from 'platform/detection'
import {Deactivated} from '#/screens/Deactivated'
+import {Onboarding} from '#/screens/Onboarding'
import {LoggedOut} from '../com/auth/LoggedOut'
-import {Onboarding} from '../com/auth/Onboarding'
-import {Onboarding as NewOnboarding} from '#/screens/Onboarding'
+import {BottomBarWeb} from './bottom-bar/BottomBarWeb'
+import {DesktopLeftNav} from './desktop/LeftNav'
+import {DesktopRightNav} from './desktop/RightNav'
type NativeStackNavigationOptionsWithAuth = NativeStackNavigationOptions & {
requireAuth?: boolean
@@ -112,11 +109,7 @@ function NativeStackNavigator({
return setShowLoggedOut(false)} />
}
if (onboardingState.isActive) {
- if (NEW_ONBOARDING_ENABLED) {
- return
- } else {
- return
- }
+ return
}
const newDescriptors: typeof descriptors = {}
for (let key in descriptors) {