fix paddings and ripple
This commit is contained in:
parent
9976b836e8
commit
019e792c6b
3 changed files with 2 additions and 3 deletions
|
@ -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 = {
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue