fix: key ChannelsScreen items by platform.id to preserve form state

This commit is contained in:
M57 committed 2026-06-18 02:32:05 +03:00
1 parent 31bf15b561
commit 44aa7ba84b
1 file changed
+1 -1
@@ -114,7 +114,7 @@ fun ChannelsScreen(
contentPadding = PaddingValues(16.dp),
verticalArrangement = Arrangement.spacedBy(16.dp),
) {
items(state.platforms) { platform ->
items(state.platforms, key = { it.id }) { platform ->
var showConfigureForm by remember { mutableStateOf(false) }
Card(modifier = Modifier.fillMaxWidth()) {