mirror of
https://github.com/netbirdio/netbird.git
synced 2026-10-03 12:09:09 +02:00
tray: drop dead iconMenuNetbird and openRoute after menu rework
The menu reorganisation removed the About brand-mark bitmap and rerouted every openRoute caller to WindowManager auxiliary windows, leaving both the iconMenuNetbird embed (all three platforms) and the openRoute helper unreferenced. Remove them so the unused linter passes.
This commit is contained in:
@@ -454,15 +454,6 @@ func (t *Tray) buildMenu() *application.Menu {
|
||||
return menu
|
||||
}
|
||||
|
||||
func (t *Tray) openRoute(route string) {
|
||||
if t.window == nil {
|
||||
return
|
||||
}
|
||||
t.window.Show()
|
||||
t.window.Focus()
|
||||
t.window.SetURL("/#" + route)
|
||||
}
|
||||
|
||||
func (t *Tray) handleConnect() {
|
||||
// NeedsLogin/SessionExpired/LoginFailed mean the daemon won't honor a
|
||||
// plain Up RPC ("up already in progress: current status NeedsLogin") —
|
||||
|
||||
Reference in New Issue
Block a user