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]}> <View style={[a.gap_sm, a.align_center]}>
<Text style={[a.font_bold, a.text_3xl]}> <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>
<Text <Text
style={[ style={[
@@ -133,16 +137,23 @@ export function ListHiddenScreen({
t.atoms.text_contrast_high, t.atoms.text_contrast_high,
{lineHeight: 1.4}, {lineHeight: 1.4},
]}> ]}>
<Trans> {list.creator.viewer?.blocking || list.creator.viewer?.blockedBy ? (
This list - created by{' '} <Trans>
<Text style={[a.text_md, !isOwner && a.font_bold]}> Either the creator of this list has blocked you or you have
{isOwner blocked the creator.
? _(msg`you`) </Trans>
: sanitizeHandle(list.creator.handle, '@')} ) : (
</Text>{' '} <Trans>
- contains possible violations of Bluesky's community guidelines This list - created by{' '}
in its name or description. <Text style={[a.text_md, !isOwner && a.font_bold]}>
</Trans> {isOwner
? _(msg`you`)
: sanitizeHandle(list.creator.handle, '@')}
</Text>{' '}
- contains possible violations of Bluesky's community guidelines
in its name or description.
</Trans>
)}
</Text> </Text>
</View> </View>
</View> </View>