match the settings title bar size and enlarge section headers

This commit is contained in:
austinried
2026-10-04 00:29:54 +00:00
parent 6bdfdc8549
commit 19ab8ffea6
@@ -97,7 +97,7 @@ fun SettingsScreen(
modifier = modifier, modifier = modifier,
topBar = { topBar = {
TopAppBar( TopAppBar(
title = { Text("Settings") }, title = { Text("Settings", style = MaterialTheme.typography.headlineMedium) },
navigationIcon = { navigationIcon = {
IconButton(onClick = onBack) { IconButton(onClick = onBack) {
Icon(Icons.AutoMirrored.Rounded.ArrowBack, contentDescription = "Back") Icon(Icons.AutoMirrored.Rounded.ArrowBack, contentDescription = "Back")
@@ -235,7 +235,7 @@ private fun <T> ChoiceDialog(
private fun SectionHeader(text: String) { private fun SectionHeader(text: String) {
Text( Text(
text = text, text = text,
style = MaterialTheme.typography.titleSmall, style = MaterialTheme.typography.titleMedium,
color = MaterialTheme.colorScheme.primary, color = MaterialTheme.colorScheme.primary,
modifier = Modifier.padding(start = 16.dp, top = 16.dp, bottom = 4.dp), modifier = Modifier.padding(start = 16.dp, top = 16.dp, bottom = 4.dp),
) )