fix: add same vertical paddings

This commit is contained in:
FunkyMuse 2023-08-23 11:02:52 +02:00
parent 3323eb0613
commit 85c31f897f
1 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ internal fun SettingsScreen(
}) { }) {
SettingsPreferenceComponent( SettingsPreferenceComponent(
modifier = Modifier modifier = Modifier
.padding(bottom = 12.dp, top = 8.dp) .padding(vertical = 12.dp)
.then(startingPadding), .then(startingPadding),
preferenceTitle = stringResource(id = R.string.customize_colors), preferenceTitle = stringResource(id = R.string.customize_colors),
doOnPreferenceClick = customizeColors, doOnPreferenceClick = customizeColors,
@ -56,7 +56,7 @@ internal fun SettingsScreen(
) )
SettingsPreferenceComponent( SettingsPreferenceComponent(
modifier = Modifier modifier = Modifier
.padding(bottom = 12.dp) .padding(vertical = 12.dp)
.then(startingPadding), .then(startingPadding),
preferenceTitle = stringResource(id = R.string.customize_widget_colors), preferenceTitle = stringResource(id = R.string.customize_widget_colors),
doOnPreferenceClick = customizeWidgetColors doOnPreferenceClick = customizeWidgetColors