diff options
author | Hailey <me@haileyok.com> | 2024-12-31 11:24:50 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-31 11:24:50 -0800 |
commit | 6c40efb3a38207157b0f0dcc9492fe9fb375d69b (patch) | |
tree | 1c0d635cd1ca4b8a1a0ce8146dc235ee68591836 | |
parent | 2dc6932f298ce00bc83a66b7db0539eb7798e030 (diff) | |
download | voidsky-6c40efb3a38207157b0f0dcc9492fe9fb375d69b.tar.zst |
change copy on list blocked (#7316)
-rw-r--r-- | src/screens/List/ListHiddenScreen.tsx | 33 |
1 files changed, 22 insertions, 11 deletions
diff --git a/src/screens/List/ListHiddenScreen.tsx b/src/screens/List/ListHiddenScreen.tsx index a694cbb83..75bea4637 100644 --- a/src/screens/List/ListHiddenScreen.tsx +++ b/src/screens/List/ListHiddenScreen.tsx @@ -123,7 +123,11 @@ export function ListHiddenScreen({ /> <View style={[a.gap_sm, a.align_center]}> <Text style={[a.font_bold, a.text_3xl]}> - <Trans>List has been hidden</Trans> + {list.creator.viewer?.blocking || list.creator.viewer?.blockedBy ? ( + <Trans>Creator has been blocked</Trans> + ) : ( + <Trans>List has been hidden</Trans> + )} </Text> <Text style={[ @@ -133,16 +137,23 @@ export function ListHiddenScreen({ t.atoms.text_contrast_high, {lineHeight: 1.4}, ]}> - <Trans> - This list - created by{' '} - <Text style={[a.text_md, !isOwner && a.font_bold]}> - {isOwner - ? _(msg`you`) - : sanitizeHandle(list.creator.handle, '@')} - </Text>{' '} - - contains possible violations of Bluesky's community guidelines - in its name or description. - </Trans> + {list.creator.viewer?.blocking || list.creator.viewer?.blockedBy ? ( + <Trans> + Either the creator of this list has blocked you or you have + blocked the creator. + </Trans> + ) : ( + <Trans> + This list - created by{' '} + <Text style={[a.text_md, !isOwner && a.font_bold]}> + {isOwner + ? _(msg`you`) + : sanitizeHandle(list.creator.handle, '@')} + </Text>{' '} + - contains possible violations of Bluesky's community guidelines + in its name or description. + </Trans> + )} </Text> </View> </View> |