Fixed values for audioMuteScreenBlank being persisted to audioSpeakerVolume (#130)

This commit is contained in:
Robert Bressi 2019-09-30 21:29:56 -07:00 committed by Joni Van Roost
parent 97bcd136bf
commit 48f352b7f8

View file

@ -80,8 +80,8 @@ class Utils: NSObject {
os_log(" - current ddc value: %{public}@", type: .info, String(muteValues!.current))
os_log(" - maximum ddc value: %{public}@", type: .info, String(muteValues!.max))
display.saveValue(Int(muteValues!.current), for: command)
display.saveMaxValue(Int(muteValues!.max), for: command)
display.saveValue(Int(muteValues!.current), for: .audioMuteScreenBlank)
display.saveMaxValue(Int(muteValues!.max), for: .audioMuteScreenBlank)
}
// If the system is not currently muted, or doesn't support the mute command, display the current volume as the slider value