Remove old flush cache code

This commit is contained in:
Maurice Parker 2019-09-17 17:11:47 -05:00
parent fe3fa220bb
commit 73b7436c62
1 changed files with 0 additions and 15 deletions

View File

@ -83,21 +83,6 @@ class MasterTimelineViewController: UITableViewController, UndoableCommandRunner
updateProgressIndicatorIfNeeded()
}
override func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
super.traitCollectionDidChange(previousTraitCollection)
if traitCollection.userInterfaceStyle != previousTraitCollection?.userInterfaceStyle {
appDelegate.authorAvatarDownloader.resetCache()
appDelegate.feedIconDownloader.resetCache()
appDelegate.faviconDownloader.resetCache()
// traitCollectionDidChange will get called on a background thread
DispatchQueue.main.async {
self.reloadAllVisibleCells()
}
}
}
// MARK: Actions
@IBAction func markAllAsRead(_ sender: Any) {