Skip to content

Commit 81d8324

Browse files
authored
[client] Fix logic in updateStatus to correctly handle connection state (#3994)
[client] Fix logic in updateStatus to correctly handle connection state (#3994)
1 parent af2b427 commit 81d8324

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/ui/client_ui.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ func (s *serviceClient) updateStatus() error {
572572
var systrayIconState bool
573573

574574
switch {
575-
case status.Status == string(internal.StatusConnected) && !s.mUp.Disabled():
575+
case status.Status == string(internal.StatusConnected) && s.mUp.Disabled():
576576
s.connected = true
577577
s.sendNotification = true
578578
if s.isUpdateIconActive {

0 commit comments

Comments
 (0)