|
|
|
@ -38,6 +38,7 @@ import androidx.compose.foundation.layout.padding
|
|
|
|
|
import androidx.compose.foundation.layout.safeDrawing
|
|
|
|
|
import androidx.compose.foundation.layout.size
|
|
|
|
|
import androidx.compose.foundation.layout.width
|
|
|
|
|
import androidx.compose.foundation.layout.widthIn
|
|
|
|
|
import androidx.compose.foundation.layout.windowInsetsBottomHeight
|
|
|
|
|
import androidx.compose.foundation.lazy.LazyListScope
|
|
|
|
|
import androidx.compose.foundation.lazy.grid.GridCells
|
|
|
|
@ -247,7 +248,7 @@ private fun LazyGridScope.onboarding(
|
|
|
|
|
text = stringResource(R.string.onboarding_guidance_subtitle),
|
|
|
|
|
modifier = Modifier
|
|
|
|
|
.fillMaxWidth()
|
|
|
|
|
.padding(top = 8.dp, start = 16.dp, end = 16.dp),
|
|
|
|
|
.padding(top = 8.dp, start = 24.dp, end = 24.dp),
|
|
|
|
|
textAlign = TextAlign.Center,
|
|
|
|
|
style = MaterialTheme.typography.bodyMedium,
|
|
|
|
|
)
|
|
|
|
@ -265,8 +266,9 @@ private fun LazyGridScope.onboarding(
|
|
|
|
|
onClick = saveFollowedTopics,
|
|
|
|
|
enabled = onboardingUiState.isDismissable,
|
|
|
|
|
modifier = Modifier
|
|
|
|
|
.padding(horizontal = 40.dp)
|
|
|
|
|
.width(364.dp),
|
|
|
|
|
.padding(horizontal = 24.dp)
|
|
|
|
|
.widthIn(364.dp)
|
|
|
|
|
.fillMaxWidth(),
|
|
|
|
|
) {
|
|
|
|
|
Text(
|
|
|
|
|
text = stringResource(R.string.done),
|
|
|
|
|