Merge pull request #524 from andhiratobing/main

Set item keys for smart recomposition of topics
pull/1837/head
Milosz Moczkowski 3 years ago committed by GitHub
commit 7a2aa9e617

@ -303,7 +303,10 @@ private fun TopicSelection(
.fillMaxWidth() .fillMaxWidth()
.testTag(topicSelectionTestTag) .testTag(topicSelectionTestTag)
) { ) {
items(onboardingUiState.topics) { items(
items = onboardingUiState.topics,
key = { it.topic.id }
) {
SingleTopicButton( SingleTopicButton(
name = it.topic.name, name = it.topic.name,
topicId = it.topic.id, topicId = it.topic.id,

Loading…
Cancel
Save