passepartout-apple/Passepartout/Library/Sources/AppUIMain/Views/AppMenu/macOS
Davide 590b2790fa
Revisit overuse of EnvironmentObject (#794)
The biggest issue is the hidden and scattered use of both Tunnel and
ConnectionObserver. Only use the latter, and rename it to ExtendedTunnel
for being now a full wrapper around Tunnel (e.g. for .connectionStatus).

In general, restrict the use of EnvironmentObject to:

- Theme
- IAPManager
- ProfileProcessor
- ProviderManager

Always be explicit about:

- ProfileManager
- ExtendedTunnel

Contextually, move some UI entities to the base AppUI target.
2024-11-01 09:47:50 +01:00
..
AppMenu.swift Revisit overuse of EnvironmentObject (#794) 2024-11-01 09:47:50 +01:00
AppMenu+Model.swift Do some refactoring in AppUI targets (#789) 2024-10-31 10:02:21 +01:00
AppMenuImage.swift Revisit overuse of EnvironmentObject (#794) 2024-11-01 09:47:50 +01:00
AppWindow.swift Do some refactoring in AppUI targets (#789) 2024-10-31 10:02:21 +01:00