Match the Continue button to the option rows' width (#163)
This commit is contained in:
@@ -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),
|
||||||
|
|||||||
Submodule floret-kit updated: 63e27f290d...e5a3d1ec53
Reference in New Issue
Block a user