fix error from merging
This commit is contained in:
parent
53e00a7654
commit
a6dc16889c
@ -9,7 +9,7 @@
|
|||||||
import Foundation
|
import Foundation
|
||||||
|
|
||||||
@objcMembers public class NumberedListModel: OrderListProtocol {
|
@objcMembers public class NumberedListModel: OrderListProtocol {
|
||||||
public var backgroundColor: String?
|
public var backgroundColor: Color?
|
||||||
public static var identifier: String = "numberedList"
|
public static var identifier: String = "numberedList"
|
||||||
public var list: [LabelModel]
|
public var list: [LabelModel]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -9,7 +9,7 @@
|
|||||||
import Foundation
|
import Foundation
|
||||||
|
|
||||||
@objcMembers public class UnOrderedListModel: OrderListProtocol {
|
@objcMembers public class UnOrderedListModel: OrderListProtocol {
|
||||||
public var backgroundColor: String?
|
public var backgroundColor: Color?
|
||||||
public static var identifier: String = "unOrderedList"
|
public static var identifier: String = "unOrderedList"
|
||||||
public var bulletChar: String?
|
public var bulletChar: String?
|
||||||
public var list: [LabelModel]
|
public var list: [LabelModel]
|
||||||
|
|||||||
@ -12,7 +12,7 @@ open class LabelRightMoleculesStack: MoleculeStackView {
|
|||||||
|
|
||||||
var orderedListModel: OrderListProtocol?
|
var orderedListModel: OrderListProtocol?
|
||||||
|
|
||||||
public override func setWithModel(_ model: MoleculeProtocol?, _ delegateObject: MVMCoreUIDelegateObject?, _ additionalData: [String : AnyHashable]?) {
|
public override func setWithModel(_ model: MoleculeProtocol?, _ delegateObject: MVMCoreUIDelegateObject?, _ additionalData: [AnyHashable : Any]?) {
|
||||||
let previousModel = self.orderedListModel
|
let previousModel = self.orderedListModel
|
||||||
//Remove previously drawn views
|
//Remove previously drawn views
|
||||||
removeAllItemViews()
|
removeAllItemViews()
|
||||||
@ -64,8 +64,8 @@ class LeftLabelRightMoleculeContainer: View {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// MARK: - Inits
|
// MARK: - Inits
|
||||||
public override init() {
|
public convenience init() {
|
||||||
super.init()
|
self.init(frame:.zero)
|
||||||
}
|
}
|
||||||
|
|
||||||
public override init(frame: CGRect) {
|
public override init(frame: CGRect) {
|
||||||
@ -131,7 +131,7 @@ class LeftLabelRightMoleculeContainer: View {
|
|||||||
rightMolecule?.reset()
|
rightMolecule?.reset()
|
||||||
}
|
}
|
||||||
|
|
||||||
override func setWithModel(_ model: MoleculeProtocol?, _ delegateObject: MVMCoreUIDelegateObject?, _ additionalData: [String : AnyHashable]?) {
|
public override func setWithModel(_ model: MoleculeProtocol?, _ delegateObject: MVMCoreUIDelegateObject?, _ additionalData: [AnyHashable : Any]?) {
|
||||||
let previousMoleculeName = model?.moleculeName
|
let previousMoleculeName = model?.moleculeName
|
||||||
super.setWithModel(model, delegateObject, additionalData)
|
super.setWithModel(model, delegateObject, additionalData)
|
||||||
removeSubviewsInRightContainer()
|
removeSubviewsInRightContainer()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user