Skip to content

Commit 2cc8ebc

Browse files
committed
msglist [nfc]: Update a SafeArea comment to mention scroll-to-bottom button
(We're already doing what the new comment says.)
1 parent 28c8594 commit 2cc8ebc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/widgets/message_list.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,8 @@ class _MessageListState extends State<MessageList> with PerAccountStoreAwareStat
546546
// Pad the left and right insets, for small devices in landscape.
547547
return SafeArea(
548548
// Don't let this be the place we pad the bottom inset. When there's
549-
// no compose box, we want to let the message-list content pad it.
549+
// no compose box, we want to let the message-list content
550+
// and the scroll-to-bottom button avoid it.
550551
// TODO(#311) Remove as unnecessary if we do a bottom nav.
551552
// The nav will pad the bottom inset, and an ancestor of this widget
552553
// will have a `MediaQuery.removePadding` with `removeBottom: true`.

0 commit comments

Comments
 (0)