From 3f5d23a34cbd3fa9fc6c615d48f0cddeafbf858d Mon Sep 17 00:00:00 2001 From: Davide De Rosa Date: Sun, 4 Nov 2018 09:14:54 +0100 Subject: [PATCH] Drop redundant table/model updates on remove Already done in commit row, and also breaks animation. --- .../Scenes/Organizer/OrganizerViewController.swift | 3 --- 1 file changed, 3 deletions(-) diff --git a/Passepartout-iOS/Scenes/Organizer/OrganizerViewController.swift b/Passepartout-iOS/Scenes/Organizer/OrganizerViewController.swift index 0604d80c..35a29503 100644 --- a/Passepartout-iOS/Scenes/Organizer/OrganizerViewController.swift +++ b/Passepartout-iOS/Scenes/Organizer/OrganizerViewController.swift @@ -453,9 +453,6 @@ extension OrganizerViewController: ConnectionServiceDelegate { func connectionService(didRemoveProfileWithKey key: ConnectionService.ProfileKey) { splitViewController?.serviceViewController?.hideProfileIfDeleted() TransientStore.shared.serialize() // delete - - reloadModel() - tableView.reloadData() } // XXX: deactivate + activate leads to a redundant serialization