Disable prefetching on the tableview because we sometimes change the icon after the item is prefetched, but before it is visible. Fixes #3352

This commit is contained in:
Maurice Parker 2021-11-18 15:39:05 -06:00
parent 1bc46f1251
commit 0d4f4054ce
1 changed files with 4 additions and 0 deletions

View File

@ -83,6 +83,10 @@ class MasterTimelineViewController: UITableViewController, UndoableCommandRunner
iconSize = AppDefaults.shared.timelineIconSize
resetEstimatedRowHeight()
if #available(iOS 15, *) {
tableView.isPrefetchingEnabled = false
}
if let titleView = Bundle.main.loadNibNamed("MasterTimelineTitleView", owner: self, options: nil)?[0] as? MasterTimelineTitleView {
navigationItem.titleView = titleView
}