tuck the artist album row and its controls tight to the image

Keep the star and more pinned to the right of the row, top-align the row
so the album count sits close under the image, and let the centred
shuffle button's lower half pass just above the controls.
This commit is contained in:
austinried
2026-10-04 00:30:02 +00:00
parent 56379d4433
commit f6f9648cce
@@ -102,7 +102,6 @@ private val SHUFFLE_HEIGHT = 48.dp
private val SHUFFLE_ICON = 30.dp
private val SHUFFLE_RESERVE = 80.dp
private val SHUFFLE_HANG = SHUFFLE_HEIGHT / 2
private val SHUFFLE_ROW_CLEARANCE = TITLE_INSET + SHUFFLE_WIDTH + 8.dp
internal fun estimateScrollPx(
index: Int,
@@ -310,8 +309,8 @@ fun ArtistDetailScreen(
}
}
Row(
modifier = Modifier.fillMaxWidth().padding(start = 16.dp, end = SHUFFLE_ROW_CLEARANCE, top = 16.dp),
verticalAlignment = Alignment.CenterVertically,
modifier = Modifier.fillMaxWidth().padding(start = 16.dp, end = 8.dp, top = 16.dp),
verticalAlignment = Alignment.Top,
) {
Text(
text = "${artist?.albumCount ?: 0} ${if (artist?.albumCount == 1L) "album" else "albums"}",