From f4cfd0386ca57690371959014c5819e75e9a28e9 Mon Sep 17 00:00:00 2001 From: "Pfeil, Scott Robert" Date: Fri, 24 May 2019 12:30:04 -0400 Subject: [PATCH] add forgotten separator override --- MVMCoreUI/Molecules/MoleculeTableViewCell.swift | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/MVMCoreUI/Molecules/MoleculeTableViewCell.swift b/MVMCoreUI/Molecules/MoleculeTableViewCell.swift index e0401f38..e0053437 100644 --- a/MVMCoreUI/Molecules/MoleculeTableViewCell.swift +++ b/MVMCoreUI/Molecules/MoleculeTableViewCell.swift @@ -89,6 +89,12 @@ import UIKit } else { accessoryView = nil } + + // override the separator + if let separator = json.optionalDictionaryForKey("separator") { + addSeparatorsIfNeeded() + bottomSeparatorView?.setWithJSON(separator, delegateObject: delegateObject, additionalData: additionalData) + } } public static func estimatedHeight(forRow json: [AnyHashable : Any]?) -> CGFloat {