Skip to content

Commit

Permalink
fix default header size
Browse files Browse the repository at this point in the history
  • Loading branch information
avan1235 committed Mar 12, 2024
1 parent ec21d07 commit 8efe6e5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,14 @@ fun DefaultMonthHeader(
.name
.lowercase()
.replaceFirstChar { it.titlecase() },
style = MaterialTheme.typography.headlineMedium,
style = MaterialTheme.typography.titleLarge,
maxLines = 1,
overflow = TextOverflow.Ellipsis,
)
Spacer(modifier = Modifier.width(8.dp))
Text(
text = monthState.currentMonth.year.toString(),
style = MaterialTheme.typography.headlineMedium,
style = MaterialTheme.typography.titleLarge,
maxLines = 1,
overflow = TextOverflow.Ellipsis
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,14 @@ fun DefaultWeekHeader(
.name
.lowercase()
.replaceFirstChar { it.titlecase() },
style = MaterialTheme.typography.headlineMedium,
style = MaterialTheme.typography.titleLarge,
maxLines = 1,
overflow = TextOverflow.Ellipsis
)
Spacer(modifier = Modifier.width(8.dp))
Text(
text = weekState.currentWeek.yearMonth.year.toString(),
style = MaterialTheme.typography.headlineMedium,
style = MaterialTheme.typography.titleLarge,
maxLines = 1,
overflow = TextOverflow.Ellipsis
)
Expand Down

0 comments on commit 8efe6e5

Please sign in to comment.