From 6c40efb3a38207157b0f0dcc9492fe9fb375d69b Mon Sep 17 00:00:00 2001
From: Hailey <me@haileyok.com>
Date: Tue, 31 Dec 2024 11:24:50 -0800
Subject: change copy on list blocked (#7316)

---
 src/screens/List/ListHiddenScreen.tsx | 33 ++++++++++++++++++++++-----------
 1 file changed, 22 insertions(+), 11 deletions(-)

(limited to 'src/screens/List/ListHiddenScreen.tsx')

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>
-- 
cgit 1.4.1

