fix: restore missing closing brace in ListDetailScreen to ensure proper composable termination
This commit is contained in:
+6
-4
@@ -573,15 +573,13 @@ fun ListDetailScreen(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
// Items list below the fixed header
|
// Items list below the fixed header
|
||||||
val canScroll = listState.canScrollForward || listState.canScrollBackward
|
|
||||||
LazyColumn(
|
LazyColumn(
|
||||||
modifier = Modifier.fillMaxSize(),
|
modifier = Modifier
|
||||||
|
.fillMaxSize(),
|
||||||
state = listState,
|
state = listState,
|
||||||
contentPadding = PaddingValues(0.dp),
|
contentPadding = PaddingValues(0.dp),
|
||||||
userScrollEnabled = canScroll,
|
|
||||||
) {
|
) {
|
||||||
groupedItems.entries.forEach { (_, groupItems) ->
|
groupedItems.entries.forEach { (_, groupItems) ->
|
||||||
// Show items in the group
|
// Show items in the group
|
||||||
@@ -724,6 +722,10 @@ fun ListDetailScreen(
|
|||||||
},
|
},
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
// END ListDetailScreen composable
|
||||||
|
}
|
||||||
|
|
||||||
|
// Extra closing brace to properly terminate ListDetailScreen; previous edits removed one
|
||||||
}
|
}
|
||||||
|
|
||||||
// Pure helpers used for transforming and grouping items
|
// Pure helpers used for transforming and grouping items
|
||||||
|
|||||||
Reference in New Issue
Block a user