mirror of
https://github.com/netbirdio/netbird.git
synced 2026-10-28 23:39:07 +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.
8 lines
278 B
Go
8 lines
278 B
Go
//go:build !windows && !android && !ios && !freebsd && !js
|
|
|
|
package main
|
|
|
|
// menuLabel is the identity on macOS/Linux, which render "&" literally;
|
|
// Windows escapes it separately (tray_label_windows.go) to dodge the Win32 mnemonic.
|
|
func menuLabel(s string) string { return s }
|