mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2025-01-26 20:14:28 +01:00
fix: Show scrollDownButton only if selectedEvents is empty
This commit is contained in:
parent
1c3e0e4d1e
commit
3e2d28d21e
@ -154,7 +154,8 @@ class ChatView extends StatelessWidget {
|
|||||||
title: ChatAppBarTitle(controller),
|
title: ChatAppBarTitle(controller),
|
||||||
actions: _appBarActions(context),
|
actions: _appBarActions(context),
|
||||||
),
|
),
|
||||||
floatingActionButton: controller.showScrollDownButton
|
floatingActionButton: controller.showScrollDownButton &&
|
||||||
|
controller.selectedEvents.isEmpty
|
||||||
? Padding(
|
? Padding(
|
||||||
padding: const EdgeInsets.only(bottom: 56.0),
|
padding: const EdgeInsets.only(bottom: 56.0),
|
||||||
child: FloatingActionButton(
|
child: FloatingActionButton(
|
||||||
|
Loading…
Reference in New Issue
Block a user