|
|
@ -77,6 +77,7 @@ import androidx.compose.ui.res.painterResource
|
|
|
|
import androidx.compose.ui.res.stringResource
|
|
|
|
import androidx.compose.ui.res.stringResource
|
|
|
|
import androidx.compose.ui.semantics.clearAndSetSemantics
|
|
|
|
import androidx.compose.ui.semantics.clearAndSetSemantics
|
|
|
|
import androidx.compose.ui.semantics.semantics
|
|
|
|
import androidx.compose.ui.semantics.semantics
|
|
|
|
|
|
|
|
import androidx.compose.ui.semantics.stateDescription
|
|
|
|
import androidx.compose.ui.text.style.TextAlign
|
|
|
|
import androidx.compose.ui.text.style.TextAlign
|
|
|
|
import androidx.compose.ui.tooling.preview.PreviewParameter
|
|
|
|
import androidx.compose.ui.tooling.preview.PreviewParameter
|
|
|
|
import androidx.compose.ui.unit.dp
|
|
|
|
import androidx.compose.ui.unit.dp
|
|
|
@ -272,7 +273,10 @@ private fun LazyStaggeredGridScope.onboarding(
|
|
|
|
is OnboardingUiState.Shown -> {
|
|
|
|
is OnboardingUiState.Shown -> {
|
|
|
|
item(span = StaggeredGridItemSpan.FullLine, contentType = "onboarding") {
|
|
|
|
item(span = StaggeredGridItemSpan.FullLine, contentType = "onboarding") {
|
|
|
|
Column(
|
|
|
|
Column(
|
|
|
|
modifier = interestsItemModifier
|
|
|
|
modifier = interestsItemModifier,
|
|
|
|
|
|
|
|
) {
|
|
|
|
|
|
|
|
Column(
|
|
|
|
|
|
|
|
modifier = Modifier
|
|
|
|
.semantics(mergeDescendants = true) { },
|
|
|
|
.semantics(mergeDescendants = true) { },
|
|
|
|
) {
|
|
|
|
) {
|
|
|
|
Text(
|
|
|
|
Text(
|
|
|
@ -291,6 +295,7 @@ private fun LazyStaggeredGridScope.onboarding(
|
|
|
|
textAlign = TextAlign.Center,
|
|
|
|
textAlign = TextAlign.Center,
|
|
|
|
style = MaterialTheme.typography.bodyMedium,
|
|
|
|
style = MaterialTheme.typography.bodyMedium,
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
}
|
|
|
|
TopicSelection(
|
|
|
|
TopicSelection(
|
|
|
|
onboardingUiState,
|
|
|
|
onboardingUiState,
|
|
|
|
onTopicCheckedChanged,
|
|
|
|
onTopicCheckedChanged,
|
|
|
|