about summary refs log tree commit diff
path: root/src/screens/List/ListHiddenScreen.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/screens/List/ListHiddenScreen.tsx')
-rw-r--r--src/screens/List/ListHiddenScreen.tsx33
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>