From 03bc7367251448791418a237ffcdfa95ac7ff6b6 Mon Sep 17 00:00:00 2001 From: Honey Date: Mon, 6 Jul 2026 00:46:44 +0200 Subject: [PATCH] fix(android): iTunes download sheet opens fully so the download button is reachable The "was herunterladen" sheet (track/album/artist + Herunterladen) opened only half-expanded, hiding the download button behind the system nav bar until you dragged it up. skipPartiallyExpanded=true opens it fully (button already clears the nav bar via navigationBarsPadding). Co-Authored-By: Claude Opus 4.8 --- .../com/novasonic/app/ui/component/ItunesDownloadSheet.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/android/app/src/main/kotlin/com/novasonic/app/ui/component/ItunesDownloadSheet.kt b/android/app/src/main/kotlin/com/novasonic/app/ui/component/ItunesDownloadSheet.kt index d8e16fb..8af7e23 100644 --- a/android/app/src/main/kotlin/com/novasonic/app/ui/component/ItunesDownloadSheet.kt +++ b/android/app/src/main/kotlin/com/novasonic/app/ui/component/ItunesDownloadSheet.kt @@ -40,6 +40,9 @@ fun ItunesDownloadSheet( ModalBottomSheet( onDismissRequest = onDismiss, + // Open fully so the "Herunterladen" button is visible right away (it sits above the system + // nav bar via navigationBarsPadding below) — no drag-up needed. + sheetState = rememberModalBottomSheetState(skipPartiallyExpanded = true), containerColor = NsSurface, dragHandle = { BottomSheetDefaults.DragHandle(color = NsOnSurface2.copy(0.3f)) }, ) {