Merge branch 'soru/fix-unread-bubble' into 'main'

fix: (hopefully) unread bubbles on iOS

See merge request famedly/fluffychat!499
This commit is contained in:
Krille Fear 2021-08-28 16:21:15 +00:00
commit 9eba2cad97

View File

@ -295,9 +295,9 @@ class ChatListItem extends StatelessWidget {
height: unreadBubbleSize,
width: room.notificationCount == 0 && !unread
? 0
: (unreadBubbleSize - 10) *
: (unreadBubbleSize - 9) *
room.notificationCount.toString().length +
10,
9,
decoration: BoxDecoration(
color: room.highlightCount > 0
? Colors.red