fix: One space always missing

This commit is contained in:
Krille Fear 2021-09-27 08:13:50 +02:00
parent 76128f5978
commit fadcad5926

View File

@ -366,7 +366,7 @@ class ChatListView extends StatelessWidget {
: Drawer( : Drawer(
child: SafeArea( child: SafeArea(
child: ListView.builder( child: ListView.builder(
itemCount: controller.spaces.length, itemCount: controller.spaces.length + 1,
itemBuilder: (context, i) { itemBuilder: (context, i) {
if (i == 0) { if (i == 0) {
return ListTile( return ListTile(