mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-24 04:59:26 +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,
|
controller: widget.controller.scrollController,
|
||||||
itemCount: rooms.length + (displayStoriesHeader ? 1 : 0),
|
itemCount: rooms.length + (displayStoriesHeader ? 1 : 0),
|
||||||
itemBuilder: (BuildContext context, int i) {
|
itemBuilder: (BuildContext context, int i) {
|
||||||
if (i == 0 && displayStoriesHeader) {
|
if (displayStoriesHeader) {
|
||||||
|
if (i == 0) {
|
||||||
return const StoriesHeader();
|
return const StoriesHeader();
|
||||||
}
|
}
|
||||||
i--;
|
i--;
|
||||||
|
}
|
||||||
return ChatListItem(
|
return ChatListItem(
|
||||||
rooms[i],
|
rooms[i],
|
||||||
selected: widget.controller.selectedRoomIds.contains(rooms[i].id),
|
selected: widget.controller.selectedRoomIds.contains(rooms[i].id),
|
||||||
|
Loading…
Reference in New Issue
Block a user