Remove ungroup_follow_backs gate (#4893)

This commit is contained in:
Eric Bailey 2024-08-08 11:48:24 -05:00 committed by GitHub
parent 4b71950d99
commit f3a9f874d9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 4 additions and 18 deletions

View file

@ -25,7 +25,6 @@ import {useLingui} from '@lingui/react'
import {useNavigation} from '@react-navigation/native'
import {useQueryClient} from '@tanstack/react-query'
import {useGate} from '#/lib/statsig/statsig'
import {parseTenorGif} from '#/lib/strings/embed-player'
import {logger} from '#/logger'
import {FeedNotification} from '#/state/queries/notifications/feed'
@ -87,7 +86,6 @@ let FeedItem = ({
const pal = usePalette('default')
const {_} = useLingui()
const t = useTheme()
const gate = useGate()
const [isAuthorsExpanded, setAuthorsExpanded] = useState<boolean>(false)
const itemHref = useMemo(() => {
if (item.type === 'post-like' || item.type === 'repost') {
@ -207,7 +205,7 @@ let FeedItem = ({
}
}
if (isFollowBack && gate('ungroup_follow_backs')) {
if (isFollowBack) {
action = _(msg`followed you back`)
} else {
action = _(msg`followed you`)