fix(android): full-height song context sheet + styled playlist-picker input

- Song context sheet now opens fully expanded (skipPartiallyExpanded) so the
  "Herunterladen" option at the bottom is reachable without an extra drag-up.
- The "new playlist" field in the playlist picker now matches the app's search
  bars: rounded 12dp, filled surface, leading icon, NsAccent/NsOnSurface3 borders.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
HoneyandClaude Opus 4.8 committed 2026-07-06 00:42:31 +02:00
1 parent 17a28b3011
commit abb4047966
2 files changed
+14 -6

No files matched your search

@@ -7,6 +7,7 @@ import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.foundation.lazy.items
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.automirrored.filled.PlaylistAdd
import androidx.compose.material.icons.automirrored.filled.QueueMusic
import androidx.compose.material.icons.filled.Add
import androidx.compose.material3.*
@@ -71,15 +72,19 @@ fun PlaylistPickerSheet(
OutlinedTextField(
value = newName,
onValueChange = { newName = it },
placeholder = { Text("Neue Playlist…", fontSize = 14.sp) },
placeholder = { Text("Neue Playlist…", color = NsOnSurface2, fontSize = 14.sp) },
leadingIcon = { Icon(Icons.AutoMirrored.Filled.PlaylistAdd, null, tint = NsOnSurface2) },
singleLine = true,
shape = RoundedCornerShape(12.dp),
modifier = Modifier.weight(1f),
colors = OutlinedTextFieldDefaults.colors(
focusedBorderColor = NsAccent,
unfocusedBorderColor = NsBorder,
cursorColor = NsAccent,
focusedTextColor = NsOnSurface,
unfocusedTextColor = NsOnSurface,
focusedBorderColor = NsAccent,
unfocusedBorderColor = NsOnSurface3,
cursorColor = NsAccent,
focusedTextColor = NsOnSurface,
unfocusedTextColor = NsOnSurface,
focusedContainerColor = NsSurface2,
unfocusedContainerColor = NsSurface2,
),
textStyle = androidx.compose.ui.text.TextStyle(
fontFamily = Outfit, fontSize = 14.sp,
@@ -36,6 +36,9 @@ fun SongContextSheet(
) {
ModalBottomSheet(
onDismissRequest = onDismiss,
// Open fully expanded so all options (incl. "Herunterladen" at the bottom) are reachable
// right away — no extra drag-up needed.
sheetState = rememberModalBottomSheetState(skipPartiallyExpanded = true),
containerColor = NsSurface,
dragHandle = { BottomSheetDefaults.DragHandle(color = NsOnSurface2) },
) {