Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Remove starterpack gate (#4645)

authored by

Hailey and committed by
GitHub
b23f1126 dd2e1735

+1 -9
-1
src/lib/statsig/gates.ts
··· 5 5 | 'request_notifications_permission_after_onboarding_v2' 6 6 | 'show_avi_follow_button' 7 7 | 'show_follow_back_label_v2' 8 - | 'starter_packs_enabled'
+1 -8
src/view/screens/Profile.tsx
··· 27 27 import {useSetDrawerSwipeDisabled, useSetMinimalShellMode} from '#/state/shell' 28 28 import {useComposerControls} from '#/state/shell/composer' 29 29 import {useAnalytics} from 'lib/analytics/analytics' 30 - import {IS_DEV, IS_TESTFLIGHT} from 'lib/app-info' 31 30 import {useSetTitle} from 'lib/hooks/useSetTitle' 32 31 import {ComposeIcon2} from 'lib/icons' 33 32 import {CommonNavigatorParams, NativeStackScreenProps} from 'lib/routes/types' 34 - import {useGate} from 'lib/statsig/statsig' 35 33 import {combinedDisplayName} from 'lib/strings/display-names' 36 34 import {isInvalidHandle} from 'lib/strings/handles' 37 35 import {colors, s} from 'lib/styles' 38 - import {isWeb} from 'platform/detection' 39 36 import {listenSoftReset} from 'state/events' 40 37 import {useActorStarterPacksQuery} from 'state/queries/actor-starter-packs' 41 38 import {PagerWithHeader} from 'view/com/pager/PagerWithHeader' ··· 170 167 const [currentPage, setCurrentPage] = React.useState(0) 171 168 const {_} = useLingui() 172 169 const setDrawerSwipeDisabled = useSetDrawerSwipeDisabled() 173 - const gate = useGate() 174 - const starterPacksEnabled = 175 - IS_DEV || IS_TESTFLIGHT || (!isWeb && gate('starter_packs_enabled')) 176 170 177 171 const [scrollViewTag, setScrollViewTag] = React.useState<number | null>(null) 178 172 ··· 205 199 const showLikesTab = isMe 206 200 const showFeedsTab = isMe || (profile.associated?.feedgens || 0) > 0 207 201 const showStarterPacksTab = 208 - starterPacksEnabled && 209 - (isMe || !!starterPacksQuery.data?.pages?.[0].starterPacks.length) 202 + isMe || !!starterPacksQuery.data?.pages?.[0].starterPacks.length 210 203 const showListsTab = 211 204 hasSession && (isMe || (profile.associated?.lists || 0) > 0) 212 205