Digital PCT265 story PCT-272: Remove iOS 15 check for reconfigure / reload.
This commit is contained in:
parent
047039fdc6
commit
26670a7043
@ -335,12 +335,8 @@ open class MoleculeListTemplate: ThreeLayerTableViewController, TemplateProtocol
|
||||
}) != nil
|
||||
})
|
||||
|
||||
if #available(iOS 15.0, *) {
|
||||
snapshot.reconfigureItems(updatedListItems)
|
||||
} else {
|
||||
// A full reload can cause a flicker / animation. Better to avoid with above reconfigure method.
|
||||
snapshot.reloadItems(updatedListItems)
|
||||
}
|
||||
// A full reload can cause a flicker / animation. Better to avoid with above reconfigure method.
|
||||
snapshot.reconfigureItems(updatedListItems)
|
||||
|
||||
dataSource.defaultRowAnimation = .fade
|
||||
dataSource.apply(snapshot) { [self] in
|
||||
|
||||
Loading…
Reference in New Issue
Block a user