From 518df2694c2ecd8f63102317868df9a139966455 Mon Sep 17 00:00:00 2001 From: Chris Bobbe Date: Fri, 17 Jan 2025 18:43:37 -0800 Subject: [PATCH] msglist [nfc]: Update a SafeArea comment to mention scroll-to-bottom button (We're already doing what the new comment says.) --- lib/widgets/message_list.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/widgets/message_list.dart b/lib/widgets/message_list.dart index e6a9db5c1bb..3eeb4af2295 100644 --- a/lib/widgets/message_list.dart +++ b/lib/widgets/message_list.dart @@ -555,7 +555,8 @@ class _MessageListState extends State 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`.