code change

This commit is contained in:
Subhankar Acharya 2020-07-14 16:01:54 +05:30
parent 139f019ea1
commit 63a387a4e1

View File

@ -28,7 +28,7 @@ import Foundation
//------------------------------------------------------
open override func set(with model: MoleculeModelProtocol, _ delegateObject: MVMCoreUIDelegateObject?, _ additionalData: [AnyHashable : Any]?) {
super.set(with: model, delegateObject, additionalData)
guard let model = model as? HeadersH1ButtonModel else { return }
guard let model = model as? HeadersH1NoButtonsBodyTextModel else { return }
headlineBody.set(with: model.headlineBody, delegateObject, additionalData)
}