From 2bb36948198b9a0787544258bde72b4d3c6d78b0 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Fri, 31 May 2024 12:14:11 -0500 Subject: [🐴] Add labels to chats (#4293) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Add labels to chat list * Add to convo header * Prevent click through on PostAlert buttons * Fix space * Fix alignment --- src/screens/Messages/List/ChatListItem.tsx | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/screens/Messages/List/ChatListItem.tsx') diff --git a/src/screens/Messages/List/ChatListItem.tsx b/src/screens/Messages/List/ChatListItem.tsx index a5c709a27..d5658249d 100644 --- a/src/screens/Messages/List/ChatListItem.tsx +++ b/src/screens/Messages/List/ChatListItem.tsx @@ -23,6 +23,7 @@ import {ConvoMenu} from '#/components/dms/ConvoMenu' import {Bell2Off_Filled_Corner0_Rounded as BellStroke} from '#/components/icons/Bell2' import {Link} from '#/components/Link' import {useMenuControl} from '#/components/Menu' +import {PostAlerts} from '#/components/moderation/PostAlerts' import {Text} from '#/components/Typography' export let ChatListItem = ({ @@ -264,6 +265,12 @@ function ChatListItemReady({ ]}> {lastMessage} + + {convo.unreadCount > 0 && ( -- cgit 1.4.1