Skip to content

Commit

Permalink
msglist [nfc]: Update a SafeArea comment to mention scroll-to-bottom …
Browse files Browse the repository at this point in the history
…button

We're already doing what the comment says; I just saw that the
comment was stale.
  • Loading branch information
chrisbobbe committed Jan 18, 2025
1 parent 666db74 commit 568e959
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/widgets/message_list.dart
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,8 @@ class _MessageListState extends State<MessageList> with PerAccountStoreAwareStat
// Pad the left and right insets, for small devices in landscape.
return SafeArea(
// Don't let this be the place we pad the bottom inset. When there's
// no compose box, we want to let the message-list content pad it.
// no compose box, we want to let the message-list content
// and the scroll-to-bottom button avoid it.
// TODO(#311) Remove as unnecessary if we do a bottom nav.
// The nav will pad the bottom inset, and an ancestor of this widget
// will have a `MediaQuery.removePadding` with `removeBottom: true`.
Expand Down

0 comments on commit 568e959

Please sign in to comment.