[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:
Maycon Santos
2026-01-27 09:52:55 +01:00
committed by GitHub
parent 7d791620a6
commit 5299549eb6
4 changed files with 5 additions and 4 deletions

View File

@@ -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()
}
}
}

View File

@@ -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)