mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-16 07:16:38 +00:00
[client] Fix unncessary UI updates (#3785)
This commit is contained in:
@@ -565,7 +565,7 @@ func (s *serviceClient) updateStatus() error {
|
||||
var systrayIconState bool
|
||||
|
||||
switch {
|
||||
case status.Status == string(internal.StatusConnected):
|
||||
case status.Status == string(internal.StatusConnected) && !s.mUp.Disabled():
|
||||
s.connected = true
|
||||
s.sendNotification = true
|
||||
if s.isUpdateIconActive {
|
||||
|
||||
Reference in New Issue
Block a user