From 6bab46791b11554452f3109df57c4ab9389e924b Mon Sep 17 00:00:00 2001 From: Ronald1985 Date: Tue, 17 Oct 2023 11:28:44 +0100 Subject: [PATCH] Ensure that the SoundEnabled checkbox is set to the correct value on startup --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 2d2ef29..1f6a214 100644 --- a/main.go +++ b/main.go @@ -199,7 +199,7 @@ func systrayOnReady() { "Notifications enabled", "Whether notifications are enabled", true, ) mSoundEnabled := systray.AddMenuItemCheckbox( - "Sound enabled", "Whether sound is played", true, + "Sound enabled", "Whether sound is played", ProgramConfig.SoundEnabled, ) systray.AddSeparator() mQuitOrig := systray.AddMenuItem("Quit", "Quit the whole app")