Stop animating the reloading of cells

This commit is contained in:
Maurice Parker 2021-10-20 20:45:20 -05:00
parent 08a1e79e7d
commit 9069ac975a
1 changed files with 2 additions and 2 deletions

View File

@ -119,7 +119,7 @@ class MasterFeedViewController: UITableViewController, UndoableCommandRunner {
} }
guard let unreadCountNode = node, let indexPath = coordinator.indexPathFor(unreadCountNode) else { return } 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) { @objc func faviconDidBecomeAvailable(_ note: Notification) {
@ -863,7 +863,7 @@ private extension MasterFeedViewController {
private func reloadAllVisibleCells(completion: (() -> Void)? = nil) { private func reloadAllVisibleCells(completion: (() -> Void)? = nil) {
guard let indexPaths = tableView.indexPathsForVisibleRows else { return } 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? { private func accountForNode(_ node: Node) -> Account? {