Add glass background theme setting for macOS control bar

Rename the macOS "Control Bar Buttons" settings entry to "Control Bar"
and add an Auto/Light/Dark glass background picker on that page. The
choice is stored per-preset as GlobalLayoutSettings.controlBarTheme and
forces the bar's glass color scheme via glassBackground(colorScheme:).
This commit is contained in:
Arkadiusz Fal
2026-06-02 19:38:46 +02:00
parent 0d56dd02b7
commit 96fef3663f
5 changed files with 75 additions and 5 deletions

View File

@@ -354,7 +354,7 @@ private struct LayoutSectionsSection: View {
HStack {
#if os(macOS)
Label(
String(localized: "settings.playerControls.controlBarButtons", defaultValue: "Control Bar Buttons"),
String(localized: "settings.playerControls.controlBar", defaultValue: "Control Bar"),
systemImage: "rectangle.bottomthird.inset.filled"
)
#else