passepartout-apple/Passepartout/Library/Sources/AppUI/UI
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
..
ConnectionStatusView.swift Revisit overuse of EnvironmentObject (#794) 2024-11-01 09:47:50 +01:00
ExtendedTunnel+Theme.swift Revisit overuse of EnvironmentObject (#794) 2024-11-01 09:47:50 +01:00
LogoView.swift Refactor AppUI for TV target (#775) 2024-10-29 14:30:41 +01:00
ProfileEditor+UI.swift Refactor AppUI for TV target (#775) 2024-10-29 14:30:41 +01:00
TunnelToggleButton.swift Revisit overuse of EnvironmentObject (#794) 2024-11-01 09:47:50 +01:00