passepartout-apple/Passepartout/Library/Sources/AppUI
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
..
Business Revisit overuse of EnvironmentObject (#794) 2024-11-01 09:47:50 +01:00
Domain Refactor AppUI for TV target (#775) 2024-10-29 14:30:41 +01:00
Extensions Revisit overuse of EnvironmentObject (#794) 2024-11-01 09:47:50 +01:00
IAP Refactor AppUI for TV target (#775) 2024-10-29 14:30:41 +01:00
L10n Refactor Theme strings 2024-10-30 15:20:18 +01:00
Mock Revisit overuse of EnvironmentObject (#794) 2024-11-01 09:47:50 +01:00
Protocols Revisit overuse of EnvironmentObject (#794) 2024-11-01 09:47:50 +01:00
Resources/en.lproj Refactor Theme strings 2024-10-30 15:20:18 +01:00
Theme Fix lifecycle of environment objects (#790) 2024-10-31 11:14:39 +01:00
UI Revisit overuse of EnvironmentObject (#794) 2024-11-01 09:47:50 +01:00
AppUI.swift Do some refactoring in AppUI targets (#789) 2024-10-31 10:02:21 +01:00