From f5f4f02a3d00617df36ce98c41f877491e518a86 Mon Sep 17 00:00:00 2001 From: "Hedden, Kyle Matthew" Date: Wed, 16 Oct 2024 20:17:30 -0400 Subject: [PATCH] Digital PCT265 story PCT-272: Remove iOS 15 check for reconfigure / reload. --- MVMCoreUI/Atomic/Templates/MoleculeListTemplate.swift | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/MVMCoreUI/Atomic/Templates/MoleculeListTemplate.swift b/MVMCoreUI/Atomic/Templates/MoleculeListTemplate.swift index 499cc88c..f0bbcfda 100644 --- a/MVMCoreUI/Atomic/Templates/MoleculeListTemplate.swift +++ b/MVMCoreUI/Atomic/Templates/MoleculeListTemplate.swift @@ -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