Skip to content

Commit c57de59

Browse files
chrisbobbegithub-actions[bot]
authored andcommitted
msglist [nfc]: Update a SafeArea comment to mention scroll-to-bottom button
(We're already doing what the new comment says.)
1 parent cc02303 commit c57de59

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/widgets/message_list.dart

+2-1
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,8 @@ class _MessageListState extends State<MessageList> with PerAccountStoreAwareStat
534534
// Pad the left and right insets, for small devices in landscape.
535535
return SafeArea(
536536
// Don't let this be the place we pad the bottom inset. When there's
537-
// no compose box, we want to let the message-list content pad it.
537+
// no compose box, we want to let the message-list content
538+
// and the scroll-to-bottom button avoid it.
538539
// TODO(#311) Remove as unnecessary if we do a bottom nav.
539540
// The nav will pad the bottom inset, and an ancestor of this widget
540541
// will have a `MediaQuery.removePadding` with `removeBottom: true`.

0 commit comments

Comments
 (0)