Fuggedaboudit (#4829)

zio/stable
Eric Bailey 2024-07-25 13:16:21 -05:00 committed by GitHub
parent a03622dd55
commit fac1af43b0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 3 deletions

View File

@ -171,7 +171,6 @@ let FeedItem = ({
) )
} }
let isFollowBack = false
let action = '' let action = ''
let icon = ( let icon = (
<HeartIconFilled <HeartIconFilled
@ -192,7 +191,6 @@ let FeedItem = ({
item.notification.author.viewer?.following && item.notification.author.viewer?.following &&
gate('ungroup_follow_backs') gate('ungroup_follow_backs')
) { ) {
isFollowBack = true
action = _(msg`followed you back`) action = _(msg`followed you back`)
} else { } else {
action = _(msg`followed you`) action = _(msg`followed you`)
@ -272,7 +270,7 @@ let FeedItem = ({
visible={!isAuthorsExpanded} visible={!isAuthorsExpanded}
authors={authors} authors={authors}
onToggleAuthorsExpanded={onToggleAuthorsExpanded} onToggleAuthorsExpanded={onToggleAuthorsExpanded}
showDmButton={item.type === 'starterpack-joined' || isFollowBack} showDmButton={item.type === 'starterpack-joined'}
/> />
<ExpandedAuthorsList visible={isAuthorsExpanded} authors={authors} /> <ExpandedAuthorsList visible={isAuthorsExpanded} authors={authors} />
<Text style={[styles.meta, a.self_start]}> <Text style={[styles.meta, a.self_start]}>