From dd9e1a6252854ccba4c2e95ca3771cc1f9041957 Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Sun, 30 May 2021 15:43:03 +0200 Subject: [PATCH] fix: Analyzer --- lib/pages/views/chat_list_view.dart | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/lib/pages/views/chat_list_view.dart b/lib/pages/views/chat_list_view.dart index 96674335e..493b0cd63 100644 --- a/lib/pages/views/chat_list_view.dart +++ b/lib/pages/views/chat_list_view.dart @@ -202,7 +202,6 @@ class ChatListView extends StatelessWidget { final totalCount = rooms.length; return ListView.builder( itemCount: totalCount, - controller: controller.scrollController, itemBuilder: (BuildContext context, int i) => ChatListItem( rooms[i], @@ -230,11 +229,11 @@ class ChatListView extends StatelessWidget { ]), floatingActionButton: selectMode == SelectMode.normal ? FloatingActionButton( - heroTag: 'main_fab', - onPressed: () => - VRouter.of(context).push('/newprivatechat'), - child: Icon(CupertinoIcons.chat_bubble), - ) + heroTag: 'main_fab', + onPressed: () => + VRouter.of(context).push('/newprivatechat'), + child: Icon(CupertinoIcons.chat_bubble), + ) : null, )); });