Update Feedback for Volume Change

This commit is contained in:
Hariharan Mudaliar 2026-01-22 22:34:08 +05:30
commit a3a80ca3d4
No known key found for this signature in database
GPG key ID: 025583EB0BE5640E
5 changed files with 76 additions and 0 deletions

View file

@ -1859,6 +1859,18 @@ struct HUD: View {
}
}
Section {
Defaults.Toggle("Play feedback when volume is changed", key: .playVolumeChangeFeedback)
.settingsHighlight(id: highlightID("Play feedback when volume is changed"))
.help("Plays the supplied feedback clip whenever you press the hardware volume keys.")
} header: {
Text("Audio feedback")
} footer: {
Text("Requires Accessibility permission so Dynamic Island can intercept the hardware volume keys.")
.foregroundStyle(.secondary)
.font(.caption)
}
Section {
Defaults.Toggle("Color-coded volume display", key: .useColorCodedVolumeDisplay)
.disabled(colorCodingDisabled)