remove dev gate
This commit is contained in:
@@ -27,7 +27,6 @@ import {useAgent, useSession} from '#/state/session'
|
|||||||
import {useSetDrawerSwipeDisabled, useSetMinimalShellMode} from '#/state/shell'
|
import {useSetDrawerSwipeDisabled, useSetMinimalShellMode} from '#/state/shell'
|
||||||
import {useComposerControls} from '#/state/shell/composer'
|
import {useComposerControls} from '#/state/shell/composer'
|
||||||
import {useAnalytics} from 'lib/analytics/analytics'
|
import {useAnalytics} from 'lib/analytics/analytics'
|
||||||
import {IS_DEV, IS_TESTFLIGHT} from 'lib/app-info'
|
|
||||||
import {useSetTitle} from 'lib/hooks/useSetTitle'
|
import {useSetTitle} from 'lib/hooks/useSetTitle'
|
||||||
import {ComposeIcon2} from 'lib/icons'
|
import {ComposeIcon2} from 'lib/icons'
|
||||||
import {CommonNavigatorParams, NativeStackScreenProps} from 'lib/routes/types'
|
import {CommonNavigatorParams, NativeStackScreenProps} from 'lib/routes/types'
|
||||||
@@ -200,8 +199,7 @@ function ProfileScreenLoaded({
|
|||||||
const showLikesTab = isMe
|
const showLikesTab = isMe
|
||||||
const showFeedsTab = isMe || (profile.associated?.feedgens || 0) > 0
|
const showFeedsTab = isMe || (profile.associated?.feedgens || 0) > 0
|
||||||
const showStarterPacksTab =
|
const showStarterPacksTab =
|
||||||
(isMe || !!starterPacksQuery.data?.pages?.[0].starterPacks.length) &&
|
isMe || !!starterPacksQuery.data?.pages?.[0].starterPacks.length
|
||||||
(IS_TESTFLIGHT || IS_DEV)
|
|
||||||
const showListsTab =
|
const showListsTab =
|
||||||
hasSession && (isMe || (profile.associated?.lists || 0) > 0)
|
hasSession && (isMe || (profile.associated?.lists || 0) > 0)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user