mirror of
https://github.com/netbirdio/netbird.git
synced 2026-10-28 15:29:09 +01:00
Shorten over-long godoc/inline comments across the client/ui tray and services code: drop narrative restatement, legacy-Fyne tangents, and text already evident from signatures and names. Keep only the non-obvious why (concurrency/lock ordering, platform quirks, ordering constraints, the profile-switch state table). No code changes.
24 lines
597 B
Go
24 lines
597 B
Go
//go:build darwin
|
|
|
|
package main
|
|
|
|
import _ "embed"
|
|
|
|
// 22px matches the NSMenuItem row text weight (HIG's 18-22 range);
|
|
// Windows uses 16px and Linux 24px — see the sibling icons_menu_*.go.
|
|
|
|
//go:embed assets/netbird-menu-dot-connected-22.png
|
|
var iconMenuDotConnected []byte
|
|
|
|
//go:embed assets/netbird-menu-dot-connecting-22.png
|
|
var iconMenuDotConnecting []byte
|
|
|
|
//go:embed assets/netbird-menu-dot-error-22.png
|
|
var iconMenuDotError []byte
|
|
|
|
//go:embed assets/netbird-menu-dot-idle-22.png
|
|
var iconMenuDotIdle []byte
|
|
|
|
//go:embed assets/netbird-menu-dot-offline-22.png
|
|
var iconMenuDotOffline []byte
|