reverting set method super call in Line.

This commit is contained in:
Khan, Arshad 2020-04-29 13:06:22 +05:30
parent 436f13ce8a
commit cde1f5c4e6

View File

@ -69,11 +69,11 @@ import UIKit
// MARK: - MoleculeViewProtocol
open override func set(with model: MoleculeModelProtocol, _ delegateObject: MVMCoreUIDelegateObject?, _ additionalData: [AnyHashable: Any]?) {
super.set(with: model, delegateObject, additionalData)
if let lineModel = model as? LineModel {
self.lineModel = lineModel
setStyle(lineModel.type)
}
super.set(with: model, delegateObject, additionalData)
}
open override func reset() {