mirror of
https://github.com/austinried/subtracks.git
synced 2026-11-11 15:29:15 +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,
|
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,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user