Skip to content

Commit 627515b

Browse files
chrisbobbegnprice
authored andcommitted
msglist: Keep scroll-to-bottom button out of the bottom inset
Fixes: #263
1 parent 9bd21e6 commit 627515b

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

lib/widgets/message_list.dart

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -250,9 +250,12 @@ class _MessageListState extends State<MessageList> with PerAccountStoreAwareStat
250250
Positioned(
251251
bottom: 0,
252252
right: 0,
253-
child: ScrollToBottomButton(
254-
scrollController: scrollController,
255-
visibleValue: _scrollToBottomVisibleValue)),
253+
// TODO(#311) SafeArea shouldn't be needed if we have a
254+
// bottom nav. That will pad the bottom inset.
255+
child: SafeArea(
256+
child: ScrollToBottomButton(
257+
scrollController: scrollController,
258+
visibleValue: _scrollToBottomVisibleValue))),
256259
])))))));
257260
}
258261

0 commit comments

Comments
 (0)