widen the play and shuffle pills and inset the download and more buttons

This commit is contained in:
austinried
2026-10-04 00:29:56 +00:00
parent 0e55ce65f5
commit c1c7db71b0
@@ -255,7 +255,7 @@ fun HeroHeader(
modifier = controlsModifier.fillMaxWidth(), modifier = controlsModifier.fillMaxWidth(),
verticalAlignment = Alignment.CenterVertically, verticalAlignment = Alignment.CenterVertically,
) { ) {
IconButton(onClick = onDownload) { IconButton(onClick = onDownload, modifier = Modifier.padding(horizontal = 8.dp)) {
Icon(Icons.Rounded.Download, contentDescription = "Download") Icon(Icons.Rounded.Download, contentDescription = "Download")
} }
Row( Row(
@@ -266,19 +266,19 @@ fun HeroHeader(
FilledIconButton( FilledIconButton(
onClick = onPlay, onClick = onPlay,
enabled = hasSongs, enabled = hasSongs,
modifier = Modifier.width(64.dp).height(48.dp), modifier = Modifier.width(76.dp).height(48.dp),
) { ) {
Icon(Icons.Rounded.PlayArrow, contentDescription = "Play") Icon(Icons.Rounded.PlayArrow, contentDescription = "Play")
} }
FilledIconButton( FilledIconButton(
onClick = onShuffle, onClick = onShuffle,
enabled = hasSongs, enabled = hasSongs,
modifier = Modifier.width(64.dp).height(48.dp), modifier = Modifier.width(76.dp).height(48.dp),
) { ) {
Icon(Icons.Rounded.Shuffle, contentDescription = "Shuffle play") Icon(Icons.Rounded.Shuffle, contentDescription = "Shuffle play")
} }
} }
IconButton(onClick = onMore) { IconButton(onClick = onMore, modifier = Modifier.padding(horizontal = 8.dp)) {
Icon(Icons.Rounded.MoreHoriz, contentDescription = "More options") Icon(Icons.Rounded.MoreHoriz, contentDescription = "More options")
} }
} }