Merge branch 'fix-scrolldown' into 'main'

Show scrollDownButton if selectedEvents is empty

Closes #558

See merge request famedly/fluffychat!630
onboarding
Krille Fear 3 years ago
commit 005b80bc8f

@ -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(

Loading…
Cancel
Save