Merge pull request #2802 from krille-chan/krille/highlight-new-messages
chore: Highlight unread chats at timestamp
This commit is contained in:
commit
0419079fbe
1 changed files with 9 additions and 1 deletions
|
|
@ -219,7 +219,15 @@ class ChatListItem extends StatelessWidget {
|
|||
room.latestEventReceivedTime.localizedTimeShort(
|
||||
context,
|
||||
),
|
||||
style: TextStyle(fontSize: 11),
|
||||
style: TextStyle(
|
||||
fontSize: 11,
|
||||
fontWeight: room.hasNewMessages
|
||||
? FontWeight.bold
|
||||
: null,
|
||||
color: hasNotifications
|
||||
? theme.colorScheme.primary
|
||||
: null,
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue