passepartout-apple/Passepartout/App/Platforms
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
..
App+iOS.swift Fix lifecycle of environment objects (#790) 2024-10-31 11:14:39 +01:00
App+macOS.swift Revisit overuse of EnvironmentObject (#794) 2024-11-01 09:47:50 +01:00
App+tvOS.swift Fix lifecycle of environment objects (#790) 2024-10-31 11:14:39 +01:00