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(
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,