Match the Continue button to the option rows' width (#163)

This commit is contained in:
2026-08-08 22:11:45 +02:00
parent 04aad103d0
commit e8f7f122a0
2 changed files with 7 additions and 2 deletions

View File

@@ -178,7 +178,12 @@ private fun StepPickerScaffold(
actions = { actions = {
Button( Button(
onClick = onFinished, onClick = onFinished,
modifier = Modifier.fillMaxWidth().height(56.dp), // The step is full-bleed, so the button takes the grouped rows'
// own inset and ends up as wide as the options above it.
modifier = Modifier
.padding(horizontal = GroupedListInset)
.fillMaxWidth()
.height(56.dp),
) { ) {
Text( Text(
text = stringResource(R.string.onboarding_view_continue_button), text = stringResource(R.string.onboarding_view_continue_button),