Native Android client for Spotify, built with Jetpack Compose
Kotlin ad-freeadblockandroidjetpack-composekotlinlyricsmusic-playermusic-videomyspotispotifyspotify-adblockerspotify-clientspotify-connectspotui
Immersive player: the credits are measured at their own height and centred on the header's, so the source line is no longer cut at the bottom with a larger font
kota-zo39a6feabd6ef
diff --git a/base/app/src/main/java/com/music/spotui/ui/immersive/player/ImmersivePlayer.kt b/base/app/src/main/java/com/music/spotui/ui/immersive/player/ImmersivePlayer.ktindex f8a9698f..9be3aba2 100644--- a/base/app/src/main/java/com/music/spotui/ui/immersive/player/ImmersivePlayer.kt+++ b/base/app/src/main/java/com/music/spotui/ui/immersive/player/ImmersivePlayer.kt@@ -52,6 +52,7 @@ import androidx.compose.foundation.layout.paddingimport androidx.compose.foundation.layout.sizeimport androidx.compose.foundation.layout.statusBarsPaddingimport androidx.compose.foundation.layout.width+import androidx.compose.foundation.layout.wrapContentHeightimport androidx.compose.foundation.layout.widthInimport androidx.compose.foundation.shape.CircleShapeimport androidx.compose.foundation.shape.RoundedCornerShape@@ -540,6 +541,9 @@ private fun RowScope.PlayerCredits(Column(Modifier.weight(1f)+ // Measured at its own height and centred on the header's: held to HEADER_HEIGHT, the+ // source line was cut at the bottom with a larger font (reported twice).+ .wrapContentHeight(unbounded = true)// Scaling the already measured type is a draw-only operation..graphicsLayer {val scale = 1f - 0.2f * collapse()