Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

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

Renaming the Follow button to "Follow back" when followed by user (#5281)

* Renaming the follow button to follow back when followed by user

* Fixing conditions and reusing existing translation

authored by

Wesley and committed by
GitHub
86abeb80 e0d9e754

+12 -1
+2
src/screens/Profile/Header/ProfileHeaderStandard.tsx
··· 219 219 <ButtonText> 220 220 {profile.viewer?.following ? ( 221 221 <Trans>Following</Trans> 222 + ) : profile.viewer?.followedBy ? ( 223 + <Trans>Follow Back</Trans> 222 224 ) : ( 223 225 <Trans>Follow</Trans> 224 226 )}
+10 -1
src/view/com/profile/FollowButton.tsx
··· 61 61 label={_(msg({message: 'Unfollow', context: 'action'}))} 62 62 /> 63 63 ) 64 + } else if (!profile.viewer.followedBy) { 65 + return ( 66 + <Button 67 + type={unfollowedType} 68 + labelStyle={labelStyle} 69 + onPress={onPressFollow} 70 + label={_(msg({message: 'Follow', context: 'action'}))} 71 + /> 72 + ) 64 73 } else { 65 74 return ( 66 75 <Button 67 76 type={unfollowedType} 68 77 labelStyle={labelStyle} 69 78 onPress={onPressFollow} 70 - label={_(msg({message: 'Follow', context: 'action'}))} 79 + label={_(msg({message: 'Follow Back', context: 'action'}))} 71 80 /> 72 81 ) 73 82 }