Skip to content

Commit

Permalink
[#708] Fix horizontal padding in bottom sheet demo
Browse files Browse the repository at this point in the history
  • Loading branch information
florentmaitre committed Nov 17, 2023
1 parent 9b85f14 commit dc115d8
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ fun ComponentSheetsBottom() {
OdsChoiceChipsFlowRow(
value = content.value,
onValueChange = { value -> content.value = value },
modifier = Modifier.padding(horizontal = dimensionResource(id = com.orange.ods.R.dimen.spacing_m)),
chips = listOf(
OdsChoiceChip(text = stringResource(id = R.string.component_element_empty), value = SheetsBottomCustomizationState.Content.Empty),
OdsChoiceChip(
Expand All @@ -84,7 +83,7 @@ fun ComponentSheetsBottom() {
)
}

CodeImplementationColumn {
CodeImplementationColumn(modifier = Modifier.padding(horizontal = dimensionResource(id = com.orange.ods.R.dimen.screen_horizontal_margin))) {
FunctionCallCode(
name = OdsComposable.OdsBottomSheetScaffold.name,
exhaustiveParameters = false,
Expand Down

0 comments on commit dc115d8

Please sign in to comment.