Ensure that the SoundEnabled checkbox is set to the correct value on startup

master
Ronald1985 2 years ago
parent 05ed881433
commit 6bab46791b

@ -199,7 +199,7 @@ func systrayOnReady() {
"Notifications enabled", "Whether notifications are enabled", true, "Notifications enabled", "Whether notifications are enabled", true,
) )
mSoundEnabled := systray.AddMenuItemCheckbox( mSoundEnabled := systray.AddMenuItemCheckbox(
"Sound enabled", "Whether sound is played", true, "Sound enabled", "Whether sound is played", ProgramConfig.SoundEnabled,
) )
systray.AddSeparator() systray.AddSeparator()
mQuitOrig := systray.AddMenuItem("Quit", "Quit the whole app") mQuitOrig := systray.AddMenuItem("Quit", "Quit the whole app")

Loading…
Cancel
Save