mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2025-01-11 18:22:49 +01:00
fix: Correctly size the unread bubble in the room list
This commit is contained in:
parent
b2f250ebd8
commit
d51ce6be8a
@ -291,7 +291,9 @@ class ChatListItem extends StatelessWidget {
|
||||
height: unreadBubbleSize,
|
||||
width: room.notificationCount == 0 && !room.isUnread
|
||||
? 0
|
||||
: unreadBubbleSize,
|
||||
: (unreadBubbleSize - 10) *
|
||||
room.notificationCount.toString().length +
|
||||
10,
|
||||
decoration: BoxDecoration(
|
||||
color: room.highlightCount > 0
|
||||
? Colors.red
|
||||
|
Loading…
Reference in New Issue
Block a user