|
|
@ -320,7 +320,7 @@ private fun TopicSelection(
|
|
|
|
onboardingUiState: OnboardingUiState.Shown,
|
|
|
|
onboardingUiState: OnboardingUiState.Shown,
|
|
|
|
onTopicCheckedChanged: (String, Boolean) -> Unit,
|
|
|
|
onTopicCheckedChanged: (String, Boolean) -> Unit,
|
|
|
|
modifier: Modifier = Modifier,
|
|
|
|
modifier: Modifier = Modifier,
|
|
|
|
) = trace("TopicSelection") {
|
|
|
|
) {
|
|
|
|
val lazyGridState = rememberLazyGridState()
|
|
|
|
val lazyGridState = rememberLazyGridState()
|
|
|
|
val topicSelectionTestTag = "forYou:topicSelection"
|
|
|
|
val topicSelectionTestTag = "forYou:topicSelection"
|
|
|
|
|
|
|
|
|
|
|
@ -381,7 +381,7 @@ private fun SingleTopicButton(
|
|
|
|
imageUrl: String,
|
|
|
|
imageUrl: String,
|
|
|
|
isSelected: Boolean,
|
|
|
|
isSelected: Boolean,
|
|
|
|
onClick: (String, Boolean) -> Unit,
|
|
|
|
onClick: (String, Boolean) -> Unit,
|
|
|
|
) = trace("SingleTopicButton") {
|
|
|
|
) {
|
|
|
|
Surface(
|
|
|
|
Surface(
|
|
|
|
modifier = Modifier
|
|
|
|
modifier = Modifier
|
|
|
|
.width(312.dp)
|
|
|
|
.width(312.dp)
|
|
|
|