diff --git a/DynamicIsland/Localizable.xcstrings b/DynamicIsland/Localizable.xcstrings index e00b4db..31acac8 100644 --- a/DynamicIsland/Localizable.xcstrings +++ b/DynamicIsland/Localizable.xcstrings @@ -2363,6 +2363,9 @@ } } } + }, + "Adds the AirPlay/route picker button back to the customizable controls palette." : { + }, "Adjust settings above to see changes in real-time. The actual OSD appears at the bottom center of your screen." : { "comment" : "A footer in the \"Preview\" section of the Custom OSD settings, explaining how to use the live preview feature.", diff --git a/DynamicIsland/components/Settings/SettingsView.swift b/DynamicIsland/components/Settings/SettingsView.swift index ee02a40..d0d2fe0 100644 --- a/DynamicIsland/components/Settings/SettingsView.swift +++ b/DynamicIsland/components/Settings/SettingsView.swift @@ -1923,6 +1923,9 @@ struct Media: View { } } if showShuffleAndRepeat { + Defaults.Toggle("Show \"Change Media Output\" control", key: .showMediaOutputControl) + .settingsHighlight(id: highlightID("Show Change Media Output control")) + .help("Adds the AirPlay/route picker button back to the customizable controls palette.") MusicSlotConfigurationView() } else { Text("Turn on customizable controls to rearrange media buttons.") diff --git a/DynamicIsland/models/Constants.swift b/DynamicIsland/models/Constants.swift index 918e2b1..d05c7f5 100644 --- a/DynamicIsland/models/Constants.swift +++ b/DynamicIsland/models/Constants.swift @@ -530,7 +530,7 @@ extension Defaults.Keys { static let enableParallaxEffect = Key("enableParallaxEffect", default: true) static let waitInterval = Key("waitInterval", default: 3) static let showShuffleAndRepeat = Key("showShuffleAndRepeat", default: true) - static let showMediaOutputControl = Key("showMediaOutputControl", default: false) + static let showMediaOutputControl = Key("showMediaOutputControl", default: true) static let musicAuxLeftControl = Key("musicAuxLeftControl", default: .shuffle) static let musicAuxRightControl = Key("musicAuxRightControl", default: .repeatMode) static let didMigrateMusicAuxControls = Key("didMigrateMusicAuxControls", default: false) diff --git a/DynamicIsland/models/MusicControlButton.swift b/DynamicIsland/models/MusicControlButton.swift index f403afa..9a701ea 100644 --- a/DynamicIsland/models/MusicControlButton.swift +++ b/DynamicIsland/models/MusicControlButton.swift @@ -57,7 +57,7 @@ enum MusicControlButton: String, CaseIterable, Identifiable, Codable, Defaults.S case .repeatMode: return "Repeat" case .mediaOutput: - return "Media Output" + return "Change Media Output" case .lyrics: return "Lyrics" case .seekBackward: