tighten the artist album row against the image

Bring the album count row up to a 16dp top margin and inset its controls
past the floating shuffle button's column so the two cannot overlap.
This commit is contained in:
austinried
2026-10-04 00:30:02 +00:00
parent 6f4a55b23c
commit 56379d4433
@@ -102,6 +102,7 @@ private val SHUFFLE_HEIGHT = 48.dp
private val SHUFFLE_ICON = 30.dp private val SHUFFLE_ICON = 30.dp
private val SHUFFLE_RESERVE = 80.dp private val SHUFFLE_RESERVE = 80.dp
private val SHUFFLE_HANG = SHUFFLE_HEIGHT / 2 private val SHUFFLE_HANG = SHUFFLE_HEIGHT / 2
private val SHUFFLE_ROW_CLEARANCE = TITLE_INSET + SHUFFLE_WIDTH + 8.dp
internal fun estimateScrollPx( internal fun estimateScrollPx(
index: Int, index: Int,
@@ -309,7 +310,7 @@ fun ArtistDetailScreen(
} }
} }
Row( Row(
modifier = Modifier.fillMaxWidth().padding(start = 16.dp, end = 8.dp, top = SHUFFLE_HANG + 8.dp), modifier = Modifier.fillMaxWidth().padding(start = 16.dp, end = SHUFFLE_ROW_CLEARANCE, top = 16.dp),
verticalAlignment = Alignment.CenterVertically, verticalAlignment = Alignment.CenterVertically,
) { ) {
Text( Text(