From 40f2b5db172f55f9fccdad2d204e8739f48e1f4c Mon Sep 17 00:00:00 2001 From: Kevin G Christiano Date: Fri, 2 Oct 2020 12:00:09 -0400 Subject: [PATCH] moved logic --- MVMCoreUI/Atomic/Atoms/Views/Label/Label.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/MVMCoreUI/Atomic/Atoms/Views/Label/Label.swift b/MVMCoreUI/Atomic/Atoms/Views/Label/Label.swift index bea0dfea..d8e53a30 100644 --- a/MVMCoreUI/Atomic/Atoms/Views/Label/Label.swift +++ b/MVMCoreUI/Atomic/Atoms/Views/Label/Label.swift @@ -241,15 +241,15 @@ public typealias ActionBlock = () -> () public func set(with model: MoleculeModelProtocol, _ delegateObject: MVMCoreUIDelegateObject?, _ additionalData: [AnyHashable: Any]?) { clauses = [] + text = nil + attributedText = nil + originalAttributedString = nil guard let labelModel = model as? LabelModel else { text = "" return } - text = nil - attributedText = nil - originalAttributedString = nil text = labelModel.text /*