Skip to content

Commit 518df26

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 da9a369 commit 518df26

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
@@ -555,7 +555,8 @@ class _MessageListState extends State<MessageList> with PerAccountStoreAwareStat
555555
// Pad the left and right insets, for small devices in landscape.
556556
return SafeArea(
557557
// Don't let this be the place we pad the bottom inset. When there's
558-
// no compose box, we want to let the message-list content pad it.
558+
// no compose box, we want to let the message-list content
559+
// and the scroll-to-bottom button avoid it.
559560
// TODO(#311) Remove as unnecessary if we do a bottom nav.
560561
// The nav will pad the bottom inset, and an ancestor of this widget
561562
// will have a `MediaQuery.removePadding` with `removeBottom: true`.

0 commit comments

Comments
 (0)