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
005b80bc8f
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue