mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-07 20:49:28 +01:00
chore: Fix spaces
This commit is contained in:
parent
1962adb25c
commit
9df055a741
@ -309,10 +309,12 @@ class _ChatListViewBodyState extends State<_ChatListViewBody> {
|
||||
controller: widget.controller.scrollController,
|
||||
itemCount: rooms.length + (displayStoriesHeader ? 1 : 0),
|
||||
itemBuilder: (BuildContext context, int i) {
|
||||
if (i == 0 && displayStoriesHeader) {
|
||||
return const StoriesHeader();
|
||||
if (displayStoriesHeader) {
|
||||
if (i == 0) {
|
||||
return const StoriesHeader();
|
||||
}
|
||||
i--;
|
||||
}
|
||||
i--;
|
||||
return ChatListItem(
|
||||
rooms[i],
|
||||
selected: widget.controller.selectedRoomIds.contains(rooms[i].id),
|
||||
|
Loading…
Reference in New Issue
Block a user