File tree 1 file changed +13
-9
lines changed
1 file changed +13
-9
lines changed Original file line number Diff line number Diff line change @@ -57,15 +57,19 @@ class _RecentDmConversationsPageState extends State<RecentDmConversationsPage> w
57
57
final sorted = model! .sorted;
58
58
return Scaffold (
59
59
appBar: AppBar (title: const Text ('Direct messages' )),
60
- body: ListView .builder (
61
- itemCount: sorted.length,
62
- itemBuilder: (context, index) {
63
- final narrow = sorted[index];
64
- return RecentDmConversationsItem (
65
- narrow: narrow,
66
- unreadCount: unreadsModel! .countInDmNarrow (narrow),
67
- );
68
- }));
60
+ body: SafeArea (
61
+ // Don't pad the bottom here; we want the list content to do that.
62
+ bottom: false ,
63
+ child: ListView .builder (
64
+ itemCount: sorted.length,
65
+ itemBuilder: (context, index) {
66
+ final narrow = sorted[index];
67
+ return RecentDmConversationsItem (
68
+ narrow: narrow,
69
+ unreadCount: unreadsModel! .countInDmNarrow (narrow),
70
+ );
71
+ }),
72
+ ));
69
73
}
70
74
}
71
75
You can’t perform that action at this time.
0 commit comments