Delete old pre-iOS 15 code

This commit is contained in:
Maurice Parker
2022-02-08 10:47:57 -08:00
parent bd3f6e4ffd
commit cb9c977bed

View File

@@ -537,16 +537,7 @@ class MasterTimelineViewController: UITableViewController, UndoableCommandRunner
reconfigureCells(coordinator.articles)
}
private func reloadCells(_ articles: [Article]) {
var snapshot = dataSource.snapshot()
snapshot.reloadItems(articles)
dataSource.apply(snapshot, animatingDifferences: false) { [weak self] in
self?.restoreSelectionIfNecessary(adjustScroll: false)
}
}
private func reconfigureCells(_ articles: [Article]) {
guard #available(iOS 15, *) else { return }
var snapshot = dataSource.snapshot()
snapshot.reconfigureItems(articles)
dataSource.apply(snapshot, animatingDifferences: false) { [weak self] in