From 6c1a76f2ea34d2771fb0f9d497b47b75542d086d Mon Sep 17 00:00:00 2001 From: S1m Date: Wed, 22 Dec 2021 09:03:24 +0000 Subject: [PATCH] fix: Show scrollDownButton only if selectedEvents is empty --- lib/pages/chat/chat_view.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/pages/chat/chat_view.dart b/lib/pages/chat/chat_view.dart index 82e49c805..585e84a3c 100644 --- a/lib/pages/chat/chat_view.dart +++ b/lib/pages/chat/chat_view.dart @@ -154,7 +154,8 @@ class ChatView extends StatelessWidget { title: ChatAppBarTitle(controller), actions: _appBarActions(context), ), - floatingActionButton: controller.showScrollDownButton + floatingActionButton: controller.showScrollDownButton && + controller.selectedEvents.isEmpty ? Padding( padding: const EdgeInsets.only(bottom: 56.0), child: FloatingActionButton(