From a59d16077b0be3f89a45281ee894f243037de1cc Mon Sep 17 00:00:00 2001 From: Davide De Rosa Date: Mon, 22 Oct 2018 00:34:24 +0200 Subject: [PATCH] Drop annoying table animations --- Passepartout-iOS/Scenes/EndpointViewController.swift | 2 +- Passepartout-iOS/Scenes/ServiceViewController.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Passepartout-iOS/Scenes/EndpointViewController.swift b/Passepartout-iOS/Scenes/EndpointViewController.swift index 6488aed3..d96182ba 100644 --- a/Passepartout-iOS/Scenes/EndpointViewController.swift +++ b/Passepartout-iOS/Scenes/EndpointViewController.swift @@ -293,7 +293,7 @@ extension EndpointViewController: UITableViewDataSource, UITableViewDelegate { setNeedsRefresh() commitChanges() - tableView.reloadRows(at: updatedIndexPaths, with: .automatic) + tableView.reloadRows(at: updatedIndexPaths, with: .none) } // MARK: Helpers diff --git a/Passepartout-iOS/Scenes/ServiceViewController.swift b/Passepartout-iOS/Scenes/ServiceViewController.swift index d8e3a985..04376ca5 100644 --- a/Passepartout-iOS/Scenes/ServiceViewController.swift +++ b/Passepartout-iOS/Scenes/ServiceViewController.swift @@ -902,7 +902,7 @@ extension ServiceViewController: UITableViewDataSource, UITableViewDelegate, Tog guard service.isActiveProfile(profile) else { return } - tableView.reloadRows(at: [statusIndexPath], with: .automatic) + tableView.reloadRows(at: [statusIndexPath], with: .none) } func reloadSelectedRow(andRowAt indexPath: IndexPath? = nil) {