@@ -155,22 +155,25 @@ class _InboxPageState extends State<InboxPage> with PerAccountStoreAwareStateMix
155
155
156
156
return Scaffold (
157
157
appBar: AppBar (title: const Text ('Inbox' )),
158
- body: StickyHeaderListView .builder (
159
- itemCount: sections.length,
160
- itemBuilder: (context, index) {
161
- final section = sections[index];
162
- switch (section) {
163
- case _AllDmsSectionData ():
164
- return _AllDmsSection (
165
- data: section,
166
- collapsed: allDmsCollapsed,
167
- pageState: this ,
168
- );
169
- case _StreamSectionData (: var streamId):
170
- final collapsed = collapsedStreamIds.contains (streamId);
171
- return _StreamSection (data: section, collapsed: collapsed, pageState: this );
172
- }
173
- }));
158
+ body: SafeArea (
159
+ // Don't pad the bottom here; we want the list content to do that.
160
+ bottom: false ,
161
+ child: StickyHeaderListView .builder (
162
+ itemCount: sections.length,
163
+ itemBuilder: (context, index) {
164
+ final section = sections[index];
165
+ switch (section) {
166
+ case _AllDmsSectionData ():
167
+ return _AllDmsSection (
168
+ data: section,
169
+ collapsed: allDmsCollapsed,
170
+ pageState: this ,
171
+ );
172
+ case _StreamSectionData (: var streamId):
173
+ final collapsed = collapsedStreamIds.contains (streamId);
174
+ return _StreamSection (data: section, collapsed: collapsed, pageState: this );
175
+ }
176
+ })));
174
177
}
175
178
}
176
179
0 commit comments