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'
|
align='left'
|
||||||
size='sm'
|
size='sm'
|
||||||
weight='medium'
|
weight='medium'
|
||||||
theme='muted'
|
theme={chat.last_message.unread ? 'default' : 'muted'}
|
||||||
truncate
|
truncate
|
||||||
className='w-full h-5 truncate-child pointer-events-none'
|
className='w-full h-5 truncate-child pointer-events-none'
|
||||||
data-testid='chat-last-message'
|
data-testid='chat-last-message'
|
||||||
|
|
Loading…
Reference in a new issue