mirror of
https://github.com/netbirdio/netbird.git
synced 2026-10-04 20:49:06 +02:00
The informational status row at the top of the tray menu was disabled on Linux, which painted the connection-status indicator greyed-out. Enable it on Linux so the row renders at full opacity; it has no OnClick handler so clicking it remains a no-op.
13 lines
611 B
Go
13 lines
611 B
Go
//go:build !windows && !linux && !android && !ios && !freebsd && !js
|
|
|
|
package main
|
|
|
|
// statusRowEnabled reports whether the informational status row at the
|
|
// top of the tray menu should stay enabled. False on macOS: it paints
|
|
// disabled menu rows at slightly reduced opacity without desaturating
|
|
// the leading bitmap, so the coloured status dot stays visible while the
|
|
// greyed-out label still signals to the user that the row is
|
|
// informational and not clickable. Windows opts in via
|
|
// tray_status_enabled_windows.go; Linux via tray_status_enabled_linux.go.
|
|
func statusRowEnabled() bool { return false }
|