mirror of
https://github.com/mihonapp/mihon.git
synced 2025-02-14 11:08:55 +01:00
Simplify Padding
This commit is contained in:
parent
916544c243
commit
a7e650067e
@ -119,12 +119,8 @@ private fun DateHeading(
|
|||||||
Text(
|
Text(
|
||||||
text = relativeDateText(date),
|
text = relativeDateText(date),
|
||||||
modifier = Modifier
|
modifier = Modifier
|
||||||
.padding(
|
.padding(MaterialTheme.padding.small)
|
||||||
start = MaterialTheme.padding.medium,
|
.padding(start = MaterialTheme.padding.small),
|
||||||
end = MaterialTheme.padding.small,
|
|
||||||
top = MaterialTheme.padding.small,
|
|
||||||
bottom = MaterialTheme.padding.small,
|
|
||||||
),
|
|
||||||
color = MaterialTheme.colorScheme.onSurfaceVariant,
|
color = MaterialTheme.colorScheme.onSurfaceVariant,
|
||||||
fontWeight = FontWeight.SemiBold,
|
fontWeight = FontWeight.SemiBold,
|
||||||
style = MaterialTheme.typography.bodyMedium,
|
style = MaterialTheme.typography.bodyMedium,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user