mirror of
https://github.com/FBukovina/Atoll.git
synced 2026-10-27 15:14:33 +00:00
HotFix: Missing Media Control
This commit is contained in:
parent
97047d79fa
commit
8809c85957
4 changed files with 8 additions and 2 deletions
|
|
@ -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." : {
|
"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.",
|
"comment" : "A footer in the \"Preview\" section of the Custom OSD settings, explaining how to use the live preview feature.",
|
||||||
|
|
|
||||||
|
|
@ -1923,6 +1923,9 @@ struct Media: View {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if showShuffleAndRepeat {
|
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()
|
MusicSlotConfigurationView()
|
||||||
} else {
|
} else {
|
||||||
Text("Turn on customizable controls to rearrange media buttons.")
|
Text("Turn on customizable controls to rearrange media buttons.")
|
||||||
|
|
|
||||||
|
|
@ -530,7 +530,7 @@ extension Defaults.Keys {
|
||||||
static let enableParallaxEffect = Key<Bool>("enableParallaxEffect", default: true)
|
static let enableParallaxEffect = Key<Bool>("enableParallaxEffect", default: true)
|
||||||
static let waitInterval = Key<Double>("waitInterval", default: 3)
|
static let waitInterval = Key<Double>("waitInterval", default: 3)
|
||||||
static let showShuffleAndRepeat = Key<Bool>("showShuffleAndRepeat", default: true)
|
static let showShuffleAndRepeat = Key<Bool>("showShuffleAndRepeat", default: true)
|
||||||
static let showMediaOutputControl = Key<Bool>("showMediaOutputControl", default: false)
|
static let showMediaOutputControl = Key<Bool>("showMediaOutputControl", default: true)
|
||||||
static let musicAuxLeftControl = Key<MusicAuxiliaryControl>("musicAuxLeftControl", default: .shuffle)
|
static let musicAuxLeftControl = Key<MusicAuxiliaryControl>("musicAuxLeftControl", default: .shuffle)
|
||||||
static let musicAuxRightControl = Key<MusicAuxiliaryControl>("musicAuxRightControl", default: .repeatMode)
|
static let musicAuxRightControl = Key<MusicAuxiliaryControl>("musicAuxRightControl", default: .repeatMode)
|
||||||
static let didMigrateMusicAuxControls = Key<Bool>("didMigrateMusicAuxControls", default: false)
|
static let didMigrateMusicAuxControls = Key<Bool>("didMigrateMusicAuxControls", default: false)
|
||||||
|
|
|
||||||
|
|
@ -57,7 +57,7 @@ enum MusicControlButton: String, CaseIterable, Identifiable, Codable, Defaults.S
|
||||||
case .repeatMode:
|
case .repeatMode:
|
||||||
return "Repeat"
|
return "Repeat"
|
||||||
case .mediaOutput:
|
case .mediaOutput:
|
||||||
return "Media Output"
|
return "Change Media Output"
|
||||||
case .lyrics:
|
case .lyrics:
|
||||||
return "Lyrics"
|
return "Lyrics"
|
||||||
case .seekBackward:
|
case .seekBackward:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue