remove dev gate

This commit is contained in:
Hailey
2024-06-17 11:11:06 -07:00
parent 59443839d7
commit c5cdb1033c
+1 -3
View File
@@ -27,7 +27,6 @@ import {useAgent, useSession} from '#/state/session'
import {useSetDrawerSwipeDisabled, useSetMinimalShellMode} from '#/state/shell'
import {useComposerControls} from '#/state/shell/composer'
import {useAnalytics} from 'lib/analytics/analytics'
import {IS_DEV, IS_TESTFLIGHT} from 'lib/app-info'
import {useSetTitle} from 'lib/hooks/useSetTitle'
import {ComposeIcon2} from 'lib/icons'
import {CommonNavigatorParams, NativeStackScreenProps} from 'lib/routes/types'
@@ -200,8 +199,7 @@ function ProfileScreenLoaded({
const showLikesTab = isMe
const showFeedsTab = isMe || (profile.associated?.feedgens || 0) > 0
const showStarterPacksTab =
(isMe || !!starterPacksQuery.data?.pages?.[0].starterPacks.length) &&
(IS_TESTFLIGHT || IS_DEV)
isMe || !!starterPacksQuery.data?.pages?.[0].starterPacks.length
const showListsTab =
hasSession && (isMe || (profile.associated?.lists || 0) > 0)