fix paddings and ripple

This commit is contained in:
FunkyMuse 2023-07-10 00:13:04 +02:00
parent 9976b836e8
commit 019e792c6b
3 changed files with 2 additions and 3 deletions

View file

@ -116,7 +116,6 @@ fun SettingsScreen(
preferenceTitle = stringResource(id = R.string.customize_widget_colors),
doOnPreferenceClick = customizeWidgetColors
)
Spacer(modifier = Modifier.padding(bottom = 8.dp))
}
Divider()
SettingsGroup(title = {

View file

@ -36,7 +36,7 @@ fun SettingsPreferenceComponent(
onClick = { doOnPreferenceClick?.invoke() },
onLongClick = { doOnPreferenceLongClick?.invoke() },
)
.padding(vertical = 14.dp, horizontal = 16.dp),
.padding(vertical = 12.dp, horizontal = 16.dp),
) {
Text(
text = preferenceTitle,

View file

@ -18,7 +18,7 @@ fun SettingsTitleTextComponent(
modifier: Modifier = Modifier,
text: String,
) {
Box(modifier = Modifier.padding(top = 16.dp, bottom = 8.dp)) {
Box(modifier = Modifier.padding(vertical = 8.dp)) {
Text(
text = text.uppercase(),
modifier = modifier,