Remove old flush cache code
This commit is contained in:
parent
fe3fa220bb
commit
73b7436c62
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue