mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-09 08:04:45 +00:00
fix: normalize top nav bar title font sizes
Three top nav bar titles overrode the Material3 titleLarge default with titleMedium, rendering ~16sp while every other top bar title inherits ~22sp. Drop the titleMedium override so the Calendar event detail and Git repository (home + sub-screen) titles match the rest of the app. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019N7b8D4vBvafhG9eU7M9iJ
This commit is contained in:
-1
@@ -138,7 +138,6 @@ fun CalendarEventDetailScreen(
|
||||
title = {
|
||||
Text(
|
||||
text = stringRes(R.string.route_calendar_event_detail),
|
||||
style = MaterialTheme.typography.titleMedium,
|
||||
)
|
||||
},
|
||||
navigationIcon = {
|
||||
|
||||
-1
@@ -99,7 +99,6 @@ fun RepoTitleBar(
|
||||
Column(Modifier.weight(1f, fill = false)) {
|
||||
Text(
|
||||
text = event?.name() ?: fallback,
|
||||
style = MaterialTheme.typography.titleMedium,
|
||||
fontWeight = FontWeight.SemiBold,
|
||||
maxLines = 1,
|
||||
overflow = TextOverflow.Ellipsis,
|
||||
|
||||
-1
@@ -754,7 +754,6 @@ private fun TopBarTitle(
|
||||
) {
|
||||
Text(
|
||||
text = event?.name() ?: fallback,
|
||||
style = MaterialTheme.typography.titleMedium,
|
||||
fontWeight = FontWeight.SemiBold,
|
||||
maxLines = 1,
|
||||
overflow = TextOverflow.Ellipsis,
|
||||
|
||||
Reference in New Issue
Block a user