mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-12-26 07:42:48 +01:00
Merge branch 'fix-scrolldown' into 'main'
Show scrollDownButton if selectedEvents is empty Closes #558 See merge request famedly/fluffychat!630
This commit is contained in:
commit
ea3216201d
@ -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