Make serialize() the very first call in delegate

This commit is contained in:
Davide De Rosa 2018-11-04 09:18:16 +01:00
parent ef03b2b94d
commit 76a3e48242
1 changed files with 2 additions and 1 deletions

View File

@ -451,8 +451,9 @@ extension OrganizerViewController: ConnectionServiceDelegate {
}
func connectionService(didRemoveProfileWithKey key: ConnectionService.ProfileKey) {
splitViewController?.serviceViewController?.hideProfileIfDeleted()
TransientStore.shared.serialize() // delete
splitViewController?.serviceViewController?.hideProfileIfDeleted()
}
// XXX: deactivate + activate leads to a redundant serialization