code cleanup

This commit is contained in:
Kang Yu 2024-04-01 11:18:19 -07:00
parent dd429c1df7
commit 41603fd49e

View file

@ -358,6 +358,8 @@ namespace PersistentWindows.SystrayShell
StartSplashForm();
}
//systrayForm.notifyIconMain.Visible = false;
Application.Run();
}
@ -403,7 +405,6 @@ namespace PersistentWindows.SystrayShell
if (silent)
return;
//systrayForm.notifyIconMain.Visible = false;
if (Gui)
ni.Visible = true;
@ -426,12 +427,6 @@ namespace PersistentWindows.SystrayShell
NotifyIcon ni = systrayForm.notifyIconMain;
ni.Icon = IdleIcon;
/*
if (silent)
return;
*/
//systrayForm.notifyIconMain.Visible = false;
if (Gui)
ni.Visible = true;
}