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