From 98f3f193caee82a11a67e0aaf78a831ca4f3764f Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Wed, 6 Jul 2022 11:55:02 -0500 Subject: [PATCH] setting the style only Signed-off-by: Matt Bruce --- MVMCoreUI/BaseClasses/TableViewCell.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MVMCoreUI/BaseClasses/TableViewCell.swift b/MVMCoreUI/BaseClasses/TableViewCell.swift index 053bedd0..e3ed8749 100644 --- a/MVMCoreUI/BaseClasses/TableViewCell.swift +++ b/MVMCoreUI/BaseClasses/TableViewCell.swift @@ -243,8 +243,8 @@ import UIKit open func setLines(with model: LineModel?, delegateObject: MVMCoreUIDelegateObject?, additionalData: [AnyHashable: Any]?, indexPath: IndexPath) { addSeparatorsIfNeeded() if let model = model { - topSeparatorView?.set(with: model, delegateObject, additionalData) - bottomSeparatorView?.set(with: model, delegateObject, additionalData) + topSeparatorView?.setStyle(model.type) + bottomSeparatorView?.setStyle(model.type) } else { topSeparatorView?.setStyle(.secondary) bottomSeparatorView?.setStyle(.secondary)