passepartout-apple/Passepartout/Shared
Davide a4ebea1f95
Handle load/save preferences inside ProfileEditor (#982)
Simplify preferences model by doing a bulk load/save together with
load/save Profile. ModulePreferences is now a struct rather than an
ObservableObject, because it doesn't need ad hoc observation. It's just
a binding to ProfileEditor.preferences

Fix:

- Disable CloudKit in tunnel singleton of PreferencesManager
(.sharedForTunnel)

Additionally:

- Replace MainActor in PreferencesManager with Sendable (immutable)
- Replace MainActor from ProviderPreferencesRepository with Sendable
(syncs on NSManagedObjectContext)
- Drop ModuleMetadata for good
2024-12-08 16:05:23 +01:00
..
Testing Handle load/save preferences inside ProfileEditor (#982) 2024-12-08 16:05:23 +01:00
AppContext+Shared.swift Handle load/save preferences inside ProfileEditor (#982) 2024-12-08 16:05:23 +01:00
Dependencies.swift Redesign confusing paywall (#973) 2024-12-02 10:40:25 +01:00
Shared.swift Handle load/save preferences inside ProfileEditor (#982) 2024-12-08 16:05:23 +01:00
Shared+App.swift Handle load/save preferences inside ProfileEditor (#982) 2024-12-08 16:05:23 +01:00
Shared+Tunnel.swift Handle load/save preferences inside ProfileEditor (#982) 2024-12-08 16:05:23 +01:00