Add keys to lazy Compose entries

This commit is contained in:
2026-04-17 18:02:22 +02:00
parent 858f599dbd
commit 5a377fc428
11 changed files with 31 additions and 28 deletions

View File

@@ -79,7 +79,10 @@ fun MediaCastRow(
contentPadding = PaddingValues(horizontal = 4.dp),
horizontalArrangement = Arrangement.spacedBy(16.dp)
) {
items(cast) { member ->
items(
items = cast,
key = { member -> "${member.name}:${member.role}:${member.imageUrl.orEmpty()}" }
) { member ->
Column(modifier = Modifier.width(cardWidth)) {
Box(
modifier = Modifier