2155fe1892
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 |
||
---|---|---|
.. | ||
InMemoryProfileRepository.swift | ||
NEProfileRepository.swift | ||
ProfileManager.swift | ||
ProfileRepository.swift |