Update 'theme' of message timestamp in ChatList
This commit is contained in:
parent
acede4b519
commit
b9c649011c
1 changed files with 1 additions and 0 deletions
|
@ -117,6 +117,7 @@ const ChatListItem: React.FC<IChatListItemInterface> = ({ chat, onClick }) => {
|
||||||
timestamp={chat.last_message.created_at}
|
timestamp={chat.last_message.created_at}
|
||||||
align='right'
|
align='right'
|
||||||
size='xs'
|
size='xs'
|
||||||
|
theme={chat.unread ? 'default' : 'muted'}
|
||||||
truncate
|
truncate
|
||||||
/>
|
/>
|
||||||
</>
|
</>
|
||||||
|
|
Loading…
Reference in a new issue