Skip to content

Commit

Permalink
msglist: Keep scroll-to-bottom button out of the bottom inset
Browse files Browse the repository at this point in the history
Fixes: zulip#263
  • Loading branch information
chrisbobbe authored and gnprice committed Nov 15, 2023
1 parent 9bd21e6 commit 627515b
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions lib/widgets/message_list.dart
Original file line number Diff line number Diff line change
Expand Up @@ -250,9 +250,12 @@ class _MessageListState extends State<MessageList> with PerAccountStoreAwareStat
Positioned(
bottom: 0,
right: 0,
child: ScrollToBottomButton(
scrollController: scrollController,
visibleValue: _scrollToBottomVisibleValue)),
// TODO(#311) SafeArea shouldn't be needed if we have a
// bottom nav. That will pad the bottom inset.
child: SafeArea(
child: ScrollToBottomButton(
scrollController: scrollController,
visibleValue: _scrollToBottomVisibleValue))),
])))))));
}

Expand Down

0 comments on commit 627515b

Please sign in to comment.