fix: One space always missing

This commit is contained in:
Krille Fear 2021-09-27 08:13:50 +02:00
parent 21cb0b58d3
commit 6d304d3fc3

View file

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