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 new comment says.)
  • Loading branch information
chrisbobbe committed Jan 23, 2025
1 parent da9a369 commit 518df26
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 @@ -555,7 +555,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 518df26

Please sign in to comment.