chore: Follow up design

This commit is contained in:
krille-chan 2024-11-03 11:22:45 +01:00
commit 6b4ed7bdc8
No known key found for this signature in database
3 changed files with 7 additions and 8 deletions

View file

@ -339,7 +339,7 @@ class ChatListItem extends StatelessWidget {
: snapshot.data ??
L10n.of(context).emptyChat,
softWrap: false,
maxLines: 1,
maxLines: room.hasNewMessages ? 2 : 1,
overflow: TextOverflow.ellipsis,
style: TextStyle(
fontWeight: unread || room.hasNewMessages