mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
refactor(apple): Clean up MenuBar vars, function names (#8234)
The original MenuBar developer set a few anti-patterns that were somewhat followed by subsequent developers. As of now, the entire file is too large and woefully cluttered. This PR takes a big step towards #7771 by first organizing the current thing into a more comprehensible file: - `private` is removed. These are not needed in Swift unless you actually need to make something private. The default `internal` level is appropriate for most cases. - state change handlers are consistently named `handleX` - functions are reorganized, and `MARK` comments used to group similar functions together
This commit is contained in: