fix: (hopefully) unread bubbles on iOS

onboarding
Sorunome 4 years ago
parent b269ab6f58
commit 4f27de05c5

@ -290,9 +290,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…
Cancel
Save