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 <noreply@anthropic.com>
This commit is contained in:
1 parent
abb4047966
commit
03bc736725
1 file changed
+3
@@ -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)) },
|
||||
) {
|
||||
|
||||
Reference in new issue
Block a user