Merge pull request #2802 from krille-chan/krille/highlight-new-messages

chore: Highlight unread chats at timestamp
This commit is contained in:
Krille-chan 2026-03-31 07:49:28 +02:00 committed by GitHub
commit 0419079fbe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -219,7 +219,15 @@ class ChatListItem extends StatelessWidget {
room.latestEventReceivedTime.localizedTimeShort( room.latestEventReceivedTime.localizedTimeShort(
context, context,
), ),
style: TextStyle(fontSize: 11), style: TextStyle(
fontSize: 11,
fontWeight: room.hasNewMessages
? FontWeight.bold
: null,
color: hasNotifications
? theme.colorScheme.primary
: null,
),
), ),
), ),
], ],