From 7335a3a0d3903341426f31cabb006788d03e96cd Mon Sep 17 00:00:00 2001 From: Justin Date: Fri, 23 Sep 2022 09:08:46 -0400 Subject: [PATCH] Change color of last message text if unread --- app/soapbox/features/chats/components/chat-list-item.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/soapbox/features/chats/components/chat-list-item.tsx b/app/soapbox/features/chats/components/chat-list-item.tsx index bf8ac9053..600548880 100644 --- a/app/soapbox/features/chats/components/chat-list-item.tsx +++ b/app/soapbox/features/chats/components/chat-list-item.tsx @@ -98,7 +98,7 @@ const ChatListItem: React.FC = ({ chat, chatSilence, onC align='left' size='sm' weight='medium' - theme='muted' + theme={chat.last_message.unread ? 'default' : 'muted'} truncate className='w-full h-5 truncate-child pointer-events-none' data-testid='chat-last-message'