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:
parent
1bc46f1251
commit
0d4f4054ce
@ -83,6 +83,10 @@ class MasterTimelineViewController: UITableViewController, UndoableCommandRunner
|
|||||||
iconSize = AppDefaults.shared.timelineIconSize
|
iconSize = AppDefaults.shared.timelineIconSize
|
||||||
resetEstimatedRowHeight()
|
resetEstimatedRowHeight()
|
||||||
|
|
||||||
|
if #available(iOS 15, *) {
|
||||||
|
tableView.isPrefetchingEnabled = false
|
||||||
|
}
|
||||||
|
|
||||||
if let titleView = Bundle.main.loadNibNamed("MasterTimelineTitleView", owner: self, options: nil)?[0] as? MasterTimelineTitleView {
|
if let titleView = Bundle.main.loadNibNamed("MasterTimelineTitleView", owner: self, options: nil)?[0] as? MasterTimelineTitleView {
|
||||||
navigationItem.titleView = titleView
|
navigationItem.titleView = titleView
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user