From 921b57d1b7b0dab48ed2627725460748fd1a6ff3 Mon Sep 17 00:00:00 2001
From: Mary <148872143+mary-ext@users.noreply.github.com>
Date: Tue, 16 Jan 2024 04:11:48 +0700
Subject: feat: show muted/blocked status on list card (#2523)
---
src/view/com/lists/ListCard.tsx | 18 +++++++++++++-----
1 file changed, 13 insertions(+), 5 deletions(-)
(limited to 'src')
diff --git a/src/view/com/lists/ListCard.tsx b/src/view/com/lists/ListCard.tsx
index 28e98144a..5750faec1 100644
--- a/src/view/com/lists/ListCard.tsx
+++ b/src/view/com/lists/ListCard.tsx
@@ -94,15 +94,23 @@ export const ListCard = ({
))}
- {!!list.viewer?.muted && (
-
+
+ {list.viewer?.muted ? (
- Subscribed
+ Muted
-
- )}
+ ) : null}
+
+ {list.viewer?.blocked ? (
+
+
+ Blocked
+
+
+ ) : null}
+
{renderButton ? (
{renderButton()}
--
cgit 1.4.1