From cb9c977bed3f1fb92c8d91d695615dd0c88989b1 Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Tue, 8 Feb 2022 10:47:57 -0800 Subject: [PATCH] Delete old pre-iOS 15 code --- iOS/MasterTimeline/MasterTimelineViewController.swift | 9 --------- 1 file changed, 9 deletions(-) diff --git a/iOS/MasterTimeline/MasterTimelineViewController.swift b/iOS/MasterTimeline/MasterTimelineViewController.swift index ba4cbb2be..b238e5c28 100644 --- a/iOS/MasterTimeline/MasterTimelineViewController.swift +++ b/iOS/MasterTimeline/MasterTimelineViewController.swift @@ -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