refactor: Chat list view

This commit is contained in:
Christian Pauly 2021-08-04 10:09:55 +02:00
parent 36fac99de6
commit 1d92af38cb

View File

@ -289,9 +289,8 @@ class _ChatListViewBody extends StatelessWidget {
],
);
}
final totalCount = rooms.length;
return ListView.builder(
itemCount: totalCount,
itemCount: rooms.length,
itemBuilder: (BuildContext context, int i) {
return ChatListItem(
rooms[i],