From 0332e13c6ab8b070294fb2f16dcaaf0bee06e562 Mon Sep 17 00:00:00 2001 From: Sorunome Date: Sat, 28 Aug 2021 18:03:45 +0200 Subject: [PATCH] fix: (hopefully) unread bubbles on iOS --- lib/widgets/list_items/chat_list_item.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/widgets/list_items/chat_list_item.dart b/lib/widgets/list_items/chat_list_item.dart index 4e9ac5bb..63bcbb27 100644 --- a/lib/widgets/list_items/chat_list_item.dart +++ b/lib/widgets/list_items/chat_list_item.dart @@ -290,9 +290,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