Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

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

Merge pull request #8875 from internet-development/caidan/app-1406-follow-suggestions-card-to-show-follow-back

[APP-1406] follow suggestions card to show follow back

authored by

jim and committed by
GitHub
e404ddfb 0baa5198

+9 -9
+1 -1
src/components/ProfileCard.tsx
··· 515 515 ) 516 516 const followLabel = _( 517 517 msg({ 518 - message: 'Follow', 518 + message: profile.viewer?.followedBy ? 'Follow back' : 'Follow', 519 519 comment: 'User is not following this account, click to follow', 520 520 }), 521 521 )
+1 -1
src/screens/Profile/Header/ProfileHeaderStandard.tsx
··· 247 247 {profile.viewer?.following ? ( 248 248 <Trans>Following</Trans> 249 249 ) : profile.viewer?.followedBy ? ( 250 - <Trans>Follow Back</Trans> 250 + <Trans>Follow back</Trans> 251 251 ) : ( 252 252 <Trans>Follow</Trans> 253 253 )}
+2 -2
src/view/com/post-thread/PostThreadFollowBtn.tsx
··· 1 1 import React from 'react' 2 - import {AppBskyActorDefs} from '@atproto/api' 2 + import {type AppBskyActorDefs} from '@atproto/api' 3 3 import {msg, Trans} from '@lingui/macro' 4 4 import {useLingui} from '@lingui/react' 5 5 import {useNavigation} from '@react-navigation/native' ··· 126 126 <ButtonText> 127 127 {!isFollowing ? ( 128 128 isFollowedBy ? ( 129 - <Trans>Follow Back</Trans> 129 + <Trans>Follow back</Trans> 130 130 ) : ( 131 131 <Trans>Follow</Trans> 132 132 )
+5 -5
src/view/com/profile/FollowButton.tsx
··· 1 - import {StyleProp, TextStyle, View} from 'react-native' 1 + import {type StyleProp, type TextStyle, View} from 'react-native' 2 2 import {msg} from '@lingui/macro' 3 3 import {useLingui} from '@lingui/react' 4 4 5 - import {Shadow} from '#/state/cache/types' 5 + import {type Shadow} from '#/state/cache/types' 6 6 import {useProfileFollowMutationQueue} from '#/state/queries/profile' 7 - import * as bsky from '#/types/bsky' 8 - import {Button, ButtonType} from '../util/forms/Button' 7 + import type * as bsky from '#/types/bsky' 8 + import {Button, type ButtonType} from '../util/forms/Button' 9 9 import * as Toast from '../util/Toast' 10 10 11 11 export function FollowButton({ ··· 78 78 type={unfollowedType} 79 79 labelStyle={labelStyle} 80 80 onPress={onPressFollow} 81 - label={_(msg({message: 'Follow Back', context: 'action'}))} 81 + label={_(msg({message: 'Follow back', context: 'action'}))} 82 82 /> 83 83 ) 84 84 }