Merge branch 'main' into feature/new-networks-concept

This commit is contained in:
Viktor Liu
2024-12-14 23:25:39 +01:00
5 changed files with 206 additions and 34 deletions

View File

@@ -572,6 +572,7 @@ func (s *serviceClient) onTrayReady() {
s.update.SetOnUpdateListener(s.onUpdateAvailable)
go func() {
s.getSrvConfig()
time.Sleep(100 * time.Millisecond) // To prevent race condition caused by systray not being fully initialized and ignoring setIcon
for {
err := s.updateStatus()
if err != nil {