mirror of
https://github.com/austinried/subtracks.git
synced 2026-11-10 23:21:59 +01:00
shrink the track numbers to bodySmall in an 18dp column
This commit is contained in:
@@ -159,7 +159,7 @@ private fun TrackNumber(
|
||||
isPlaying: Boolean,
|
||||
) {
|
||||
Box(
|
||||
modifier = Modifier.width(24.dp),
|
||||
modifier = Modifier.width(18.dp),
|
||||
contentAlignment = Alignment.Center,
|
||||
) {
|
||||
if (isPlaying) {
|
||||
@@ -172,7 +172,7 @@ private fun TrackNumber(
|
||||
} else {
|
||||
Text(
|
||||
text = track.toString(),
|
||||
style = MaterialTheme.typography.bodyMedium,
|
||||
style = MaterialTheme.typography.bodySmall,
|
||||
color = MaterialTheme.colorScheme.onSurfaceVariant,
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user