change copy on list blocked (#7316)

This commit is contained in:
Hailey
2024-12-31 11:24:50 -08:00
committed by GitHub
parent 2dc6932f29
commit 6c40efb3a3
+22 -11
View File
@@ -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>