From 5c37180df0b520e14ff0f1c6d142b51e9b08a0e5 Mon Sep 17 00:00:00 2001 From: Sahan C Poojari <81424358+Sahank29@users.noreply.github.com> Date: Wed, 25 Nov 2026 15:12:53 +0530 Subject: [PATCH] fix(player): let the landscape split use the full width on wide tablets The tablet-landscape player body was capped at 1200dp and centred. On tablets wider than that the edge-to-edge artwork pane started mid-screen with a hard left edge and empty bands on both sides. --- app/src/main/java/com/lastwave/app/ui/player/FullPlayer.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/com/lastwave/app/ui/player/FullPlayer.kt b/app/src/main/java/com/lastwave/app/ui/player/FullPlayer.kt index fbeb5775b..126e28db2 100644 --- a/app/src/main/java/com/lastwave/app/ui/player/FullPlayer.kt +++ b/app/src/main/java/com/lastwave/app/ui/player/FullPlayer.kt @@ -1277,8 +1277,10 @@ internal fun FullPlayer( modifier = Modifier .weight(1f) .then( + // No cap in landscape: the split's art pane must reach the + // screen edge, or wide (>1200dp) tablets get a hard-edged band. if (isTabletLandscape) { - Modifier.widthIn(max = 1200.dp).fillMaxWidth() + Modifier.fillMaxWidth() } else { Modifier.adaptiveContentWidth(maxWidth = 680.dp) }