Fix UI stuck in "Connecting" state when daemon reports "Connected" status. (#5014)

The UI can get stuck showing "Connecting" status even after the daemon successfully connects and reports "Connected" status. This occurs because the condition to update the UI to "Connected" state checks the wrong flag.
This commit is contained in:
Zoltan Papp
2025-12-31 11:50:43 +01:00
committed by GitHub
parent 96cdd56902
commit 2e9c316852

View File

@@ -909,7 +909,7 @@ func (s *serviceClient) updateStatus() error {
var systrayIconState bool
switch {
case status.Status == string(internal.StatusConnected) && !s.mUp.Disabled():
case status.Status == string(internal.StatusConnected) && !s.connected:
s.connected = true
s.sendNotification = true
if s.isUpdateIconActive {