mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-06 20:19:30 +01:00
refactor: Chat list view
This commit is contained in:
parent
36fac99de6
commit
1d92af38cb
@ -289,9 +289,8 @@ class _ChatListViewBody extends StatelessWidget {
|
|||||||
],
|
],
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
final totalCount = rooms.length;
|
|
||||||
return ListView.builder(
|
return ListView.builder(
|
||||||
itemCount: totalCount,
|
itemCount: rooms.length,
|
||||||
itemBuilder: (BuildContext context, int i) {
|
itemBuilder: (BuildContext context, int i) {
|
||||||
return ChatListItem(
|
return ChatListItem(
|
||||||
rooms[i],
|
rooms[i],
|
||||||
|
Loading…
Reference in New Issue
Block a user