From 9a477a11a06cb02363df778bb41d5441c284c397 Mon Sep 17 00:00:00 2001 From: "Pfeil, Scott Robert" Date: Tue, 20 Jul 2021 01:13:35 -0400 Subject: [PATCH] teemporary fix for unselect issues --- MVMCoreUI/Atomic/Templates/MoleculeListTemplate.swift | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/MVMCoreUI/Atomic/Templates/MoleculeListTemplate.swift b/MVMCoreUI/Atomic/Templates/MoleculeListTemplate.swift index c12b74fa..baab7479 100644 --- a/MVMCoreUI/Atomic/Templates/MoleculeListTemplate.swift +++ b/MVMCoreUI/Atomic/Templates/MoleculeListTemplate.swift @@ -246,8 +246,9 @@ open class MoleculeListTemplate: ThreeLayerTableViewController, TemplateProtocol // Refresh the cell. let indexPath = IndexPath(row: index, section: 0) - tableView.reloadRows(at: [indexPath], with: .none) - } + _ = tableView(tableView, cellForRowAt: indexPath) + performTableViewUpdates() + } open override func removeMolecules(_ molecules: [ListItemModelProtocol & MoleculeModelProtocol], animation: UITableView.RowAnimation) { var indexPaths: [IndexPath] = []