Skip to content

Commit

Permalink
Simplify Padding
Browse files Browse the repository at this point in the history
  • Loading branch information
Animeboynz committed Sep 21, 2024
1 parent 94b2530 commit 7dfe77a
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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) // Apply same padding to all sides
.padding(start = MaterialTheme.padding.small), // Add extra padding to the start
color = MaterialTheme.colorScheme.onSurfaceVariant,
fontWeight = FontWeight.SemiBold,
style = MaterialTheme.typography.bodyMedium,
Expand Down

0 comments on commit 7dfe77a

Please sign in to comment.