Stop animating the reloading of cells
This commit is contained in:
parent
08a1e79e7d
commit
9069ac975a
|
@ -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? {
|
||||||
|
|
Loading…
Reference in New Issue