shrink the track numbers to bodySmall in an 18dp column

This commit is contained in:
austinried
2026-10-04 00:29:55 +00:00
parent b978e9cc37
commit 120d180220
@@ -159,7 +159,7 @@ private fun TrackNumber(
isPlaying: Boolean, isPlaying: Boolean,
) { ) {
Box( Box(
modifier = Modifier.width(24.dp), modifier = Modifier.width(18.dp),
contentAlignment = Alignment.Center, contentAlignment = Alignment.Center,
) { ) {
if (isPlaying) { if (isPlaying) {
@@ -172,7 +172,7 @@ private fun TrackNumber(
} else { } else {
Text( Text(
text = track.toString(), text = track.toString(),
style = MaterialTheme.typography.bodyMedium, style = MaterialTheme.typography.bodySmall,
color = MaterialTheme.colorScheme.onSurfaceVariant, color = MaterialTheme.colorScheme.onSurfaceVariant,
) )
} }