From afaf61bbeb218db6108628259cbcd5211bf98b18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Ku=C3=9Fowski?= Date: Tue, 31 Mar 2026 07:24:57 +0200 Subject: [PATCH] chore: Highlight unread chats at timestamp --- lib/pages/chat_list/chat_list_item.dart | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/lib/pages/chat_list/chat_list_item.dart b/lib/pages/chat_list/chat_list_item.dart index 3cc410e8..624c59d5 100644 --- a/lib/pages/chat_list/chat_list_item.dart +++ b/lib/pages/chat_list/chat_list_item.dart @@ -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, + ), ), ), ],