Simplify Padding

This commit is contained in:
Roshan Varughese 2024-09-21 23:45:56 +12:00 committed by AntsyLich
parent 916544c243
commit a7e650067e
No known key found for this signature in database

View File

@ -119,12 +119,8 @@ private fun DateHeading(
Text(
text = relativeDateText(date),
modifier = Modifier
.padding(
start = MaterialTheme.padding.medium,
end = MaterialTheme.padding.small,
top = MaterialTheme.padding.small,
bottom = MaterialTheme.padding.small,
),
.padding(MaterialTheme.padding.small)
.padding(start = MaterialTheme.padding.small),
color = MaterialTheme.colorScheme.onSurfaceVariant,
fontWeight = FontWeight.SemiBold,
style = MaterialTheme.typography.bodyMedium,