diff options
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/WhoCanReply.tsx | 13 | ||||
-rw-r--r-- | src/components/dialogs/PostInteractionSettingsDialog.tsx | 12 |
2 files changed, 24 insertions, 1 deletions
diff --git a/src/components/WhoCanReply.tsx b/src/components/WhoCanReply.tsx index 34ac3fe5b..7d74a50c6 100644 --- a/src/components/WhoCanReply.tsx +++ b/src/components/WhoCanReply.tsx @@ -258,6 +258,19 @@ function Rule({ if (rule.type === 'mention') { return <Trans>mentioned users</Trans> } + if (rule.type === 'followers') { + return ( + <Trans> + users following{' '} + <InlineLinkText + label={`@${post.author.handle}`} + to={makeProfileLink(post.author)} + style={[a.text_sm, a.leading_snug]}> + @{post.author.handle} + </InlineLinkText> + </Trans> + ) + } if (rule.type === 'following') { return ( <Trans> diff --git a/src/components/dialogs/PostInteractionSettingsDialog.tsx b/src/components/dialogs/PostInteractionSettingsDialog.tsx index b443d59f2..e4bc77702 100644 --- a/src/components/dialogs/PostInteractionSettingsDialog.tsx +++ b/src/components/dialogs/PostInteractionSettingsDialog.tsx @@ -429,7 +429,7 @@ export function PostInteractionSettingsForm({ disabled={replySettingsDisabled} /> <Selectable - label={_(msg`Followed users`)} + label={_(msg`Users you follow`)} isSelected={ !!threadgateAllowUISettings.find( v => v.type === 'following', @@ -438,6 +438,16 @@ export function PostInteractionSettingsForm({ onPress={() => onPressAudience({type: 'following'})} disabled={replySettingsDisabled} /> + <Selectable + label={_(msg`Your followers`)} + isSelected={ + !!threadgateAllowUISettings.find( + v => v.type === 'followers', + ) + } + onPress={() => onPressAudience({type: 'followers'})} + disabled={replySettingsDisabled} + /> {lists && lists.length > 0 ? lists.map(list => ( <Selectable |