From 9069ac975a7251fdefc03596319811bdda8e195b Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Wed, 20 Oct 2021 20:45:20 -0500 Subject: [PATCH] Stop animating the reloading of cells --- iOS/MasterFeed/MasterFeedViewController.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iOS/MasterFeed/MasterFeedViewController.swift b/iOS/MasterFeed/MasterFeedViewController.swift index 000eda5bc..b20e4105f 100644 --- a/iOS/MasterFeed/MasterFeedViewController.swift +++ b/iOS/MasterFeed/MasterFeedViewController.swift @@ -119,7 +119,7 @@ class MasterFeedViewController: UITableViewController, UndoableCommandRunner { } guard let unreadCountNode = node, let indexPath = coordinator.indexPathFor(unreadCountNode) else { return } - tableView.reloadRows(at: [indexPath], with: .middle) + tableView.reloadRows(at: [indexPath], with: .none) } @objc func faviconDidBecomeAvailable(_ note: Notification) { @@ -863,7 +863,7 @@ private extension MasterFeedViewController { private func reloadAllVisibleCells(completion: (() -> Void)? = nil) { guard let indexPaths = tableView.indexPathsForVisibleRows else { return } - tableView.reloadRows(at: indexPaths, with: .middle) + tableView.reloadRows(at: indexPaths, with: .none) } private func accountForNode(_ node: Node) -> Account? {