mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-16 07:16:38 +00:00
[client] Update fyne and add exit menu retry (#5187)
* Update fyne and add exit menu retry - Fix an extra arrow on macos by updating fyne/systray * use systray.TrayOpenedCh instead of loop and retry
This commit is contained in:
@@ -63,6 +63,8 @@ func (h *eventHandler) listen(ctx context.Context) {
|
||||
h.handleNetworksClick()
|
||||
case <-h.client.mNotifications.ClickedCh:
|
||||
h.handleNotificationsClick()
|
||||
case <-systray.TrayOpenedCh:
|
||||
h.client.updateExitNodes()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -341,7 +341,6 @@ func (s *serviceClient) updateExitNodes() {
|
||||
log.Errorf("get client: %v", err)
|
||||
return
|
||||
}
|
||||
|
||||
exitNodes, err := s.getExitNodes(conn)
|
||||
if err != nil {
|
||||
log.Errorf("get exit nodes: %v", err)
|
||||
|
||||
Reference in New Issue
Block a user