Digital PCT265 story PCT-272: Remove iOS 15 check for reconfigure / reload.

This commit is contained in:
Hedden, Kyle Matthew 2024-10-16 20:17:30 -04:00
parent e607e8316b
commit f5f4f02a3d

View File

@ -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