Skip to content

Commit e51eb39

Browse files
authored
Enable show_follow_back_label_v2 (#5022)
1 parent 9ebc278 commit e51eb39

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

src/lib/statsig/gates.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ export type Gate =
33
| 'debug_show_feedcontext'
44
| 'fixed_bottom_bar'
55
| 'onboarding_minimum_interests'
6-
| 'show_follow_back_label_v2'
76
| 'suggested_feeds_interstitial'
87
| 'video_debug'
98
| 'videos'

src/view/com/post-thread/PostThreadFollowBtn.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import {msg, Trans} from '@lingui/macro'
66
import {useLingui} from '@lingui/react'
77
import {useNavigation} from '@react-navigation/native'
88

9-
import {useGate} from '#/lib/statsig/statsig'
109
import {logger} from '#/logger'
1110
import {track} from 'lib/analytics/analytics'
1211
import {usePalette} from 'lib/hooks/usePalette'
@@ -48,7 +47,6 @@ function PostThreadFollowBtnLoaded({
4847
'PostThreadItem',
4948
)
5049
const requireAuth = useRequireAuth()
51-
const gate = useGate()
5250

5351
const isFollowing = !!profile.viewer?.following
5452
const isFollowedBy = !!profile.viewer?.followedBy
@@ -140,7 +138,7 @@ function PostThreadFollowBtnLoaded({
140138
style={[!isFollowing ? palInverted.text : pal.text, s.bold]}
141139
numberOfLines={1}>
142140
{!isFollowing ? (
143-
isFollowedBy && gate('show_follow_back_label_v2') ? (
141+
isFollowedBy ? (
144142
<Trans>Follow Back</Trans>
145143
) : (
146144
<Trans>Follow</Trans>

0 commit comments

Comments
 (0)