From 9f061e2a31a62b85f0f216959d19051522a97ae5 Mon Sep 17 00:00:00 2001 From: austinried <4966622+austinried@users.noreply.github.com> Date: Mon, 28 Sep 2026 05:55:46 +0000 Subject: [PATCH] drop the artist biography placeholder and centre the header row The 'Artist biography coming soon.' line is temporary and the bio work is shelved, so remove it. With only the album count left, centre it against the star and more buttons under the image (the buttons no longer need to sit below the hanging shuffle). --- .../ui/library/ArtistDetailScreen.kt | 28 ++++++------------- 1 file changed, 9 insertions(+), 19 deletions(-) diff --git a/app/src/main/kotlin/com/subtracks/ui/library/ArtistDetailScreen.kt b/app/src/main/kotlin/com/subtracks/ui/library/ArtistDetailScreen.kt index 8bd539fa..7c12ea3e 100644 --- a/app/src/main/kotlin/com/subtracks/ui/library/ArtistDetailScreen.kt +++ b/app/src/main/kotlin/com/subtracks/ui/library/ArtistDetailScreen.kt @@ -330,28 +330,18 @@ fun ArtistDetailScreen( } } Row( - modifier = Modifier.fillMaxWidth().padding(start = 16.dp, end = 8.dp, top = 20.dp, bottom = 16.dp), - verticalAlignment = Alignment.Top, + modifier = Modifier.fillMaxWidth().padding(start = 16.dp, end = 8.dp, top = 28.dp, bottom = 12.dp), + verticalAlignment = Alignment.CenterVertically, ) { - Column(Modifier.weight(1f)) { - Text( - text = "${artist?.albumCount ?: 0} ${if (artist?.albumCount == 1L) "album" else "albums"}", - style = MaterialTheme.typography.bodyMedium, - color = MaterialTheme.colorScheme.onSurfaceVariant, - ) - Text( - text = "Artist biography coming soon.", - style = MaterialTheme.typography.bodyMedium, - color = MaterialTheme.colorScheme.onSurfaceVariant, - maxLines = 2, - overflow = TextOverflow.Ellipsis, - modifier = Modifier.padding(top = 8.dp), - ) - } + Text( + text = "${artist?.albumCount ?: 0} ${if (artist?.albumCount == 1L) "album" else "albums"}", + style = MaterialTheme.typography.bodyMedium, + color = MaterialTheme.colorScheme.onSurfaceVariant, + modifier = Modifier.weight(1f), + ) IconButton( onClick = { onToggleStar?.invoke() }, enabled = onToggleStar != null, - modifier = Modifier.padding(top = 14.dp), ) { Icon( imageVector = if (starred) Icons.Rounded.Star else Icons.Rounded.StarBorder, @@ -364,7 +354,7 @@ fun ArtistDetailScreen( }, ) } - IconButton(onClick = onMore, modifier = Modifier.padding(top = 14.dp)) { + IconButton(onClick = onMore) { Icon(Icons.Rounded.MoreHoriz, contentDescription = "More options") } }