Change color of last message text if unread
This commit is contained in:
parent
31b1f3ec97
commit
7335a3a0d3
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ const ChatListItem: React.FC<IChatListItemInterface> = ({ 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'
|
||||
|
|
Loading…
Reference in a new issue