passepartout-apple/Passepartout/Library/Sources/AppLibrary/Business
Davide 2155fe1892
Optimize updates in NEProfileRepository (#742)
Currently, NEProfileRepository decodes profiles from ALL NE managers on
any update. This is undesirable considering that:

- Profiles are only _added_ by the app
- Externally, profiles can only be _removed_

Therefore:

- Observe the initial managers to decode the initial profiles from them
- Publish values manually on save/delete (to ProfileManager eventually)
- Observe the subsequent updates for when a profile is removed
externally, i.e. its ID doesn't appear in managers

Fixes #741
2024-10-19 18:22:27 +02:00
..
InMemoryProfileRepository.swift Purge stale NetworkExtension/keychain data (#728) 2024-10-11 17:48:37 +02:00
NEProfileRepository.swift Optimize updates in NEProfileRepository (#742) 2024-10-19 18:22:27 +02:00
ProfileManager.swift Some fixes 2024-10-15 23:37:50 +02:00
ProfileRepository.swift Reorganize shared objects (#716) 2024-10-10 16:20:36 +02:00