chore: Mark muted unread rooms with bold text
This commit is contained in:
parent
45e1122648
commit
73c08c3fdd
1 changed files with 4 additions and 2 deletions
|
|
@ -111,7 +111,7 @@ class ChatListItem extends StatelessWidget {
|
|||
maxLines: 1,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
softWrap: false,
|
||||
style: unread
|
||||
style: unread || room.hasNewMessages
|
||||
? const TextStyle(fontWeight: FontWeight.bold)
|
||||
: null,
|
||||
),
|
||||
|
|
@ -222,7 +222,9 @@ class ChatListItem extends StatelessWidget {
|
|||
maxLines: 1,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
style: TextStyle(
|
||||
fontWeight: unread ? FontWeight.w600 : null,
|
||||
fontWeight: unread || room.hasNewMessages
|
||||
? FontWeight.bold
|
||||
: null,
|
||||
color: Theme.of(context)
|
||||
.colorScheme
|
||||
.onSurfaceVariant,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue