fix: key ChannelsScreen items by platform.id to preserve form state
This commit is contained in:
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()) {
|
||||
|
||||
Reference in new issue
Block a user