mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-12-25 23:12:37 +01:00
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:
commit
9eba2cad97
@ -295,9 +295,9 @@ class ChatListItem extends StatelessWidget {
|
|||||||
height: unreadBubbleSize,
|
height: unreadBubbleSize,
|
||||||
width: room.notificationCount == 0 && !unread
|
width: room.notificationCount == 0 && !unread
|
||||||
? 0
|
? 0
|
||||||
: (unreadBubbleSize - 10) *
|
: (unreadBubbleSize - 9) *
|
||||||
room.notificationCount.toString().length +
|
room.notificationCount.toString().length +
|
||||||
10,
|
9,
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
color: room.highlightCount > 0
|
color: room.highlightCount > 0
|
||||||
? Colors.red
|
? Colors.red
|
||||||
|
Loading…
Reference in New Issue
Block a user