mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-17 07:35:13 +00:00
refactor: Chat list view
This commit is contained in:
parent
fbf1cf10e2
commit
3340f93025
1 changed files with 1 additions and 2 deletions
|
@ -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],
|
||||
|
|
Loading…
Reference in a new issue