refactor: Upgrade to Flutter 2.5

This commit is contained in:
Krille Fear 2021-09-13 17:41:53 +02:00
commit eba304556c
7 changed files with 39 additions and 49 deletions

View file

@ -150,7 +150,7 @@ class ChatListItem extends StatelessWidget {
room.lastEvent?.senderId == Matrix.of(context).client.userID;
final unread = room.isUnread || room.membership == Membership.invite;
final unreadBubbleSize = unread
? room.notificationCount > 0.0
? room.notificationCount > 0
? 20.0
: 14.0
: 0.0;