Changes to set the line style after initialization
This commit is contained in:
parent
eeb6573e72
commit
7fbac6b8dc
@ -49,16 +49,19 @@ import UIKit
|
|||||||
public init() {
|
public init() {
|
||||||
super.init(frame: .zero)
|
super.init(frame: .zero)
|
||||||
model = LineModel(type: .secondary)
|
model = LineModel(type: .secondary)
|
||||||
|
setStyle(.secondary)
|
||||||
}
|
}
|
||||||
|
|
||||||
public override init(frame: CGRect) {
|
public override init(frame: CGRect) {
|
||||||
super.init(frame: frame)
|
super.init(frame: frame)
|
||||||
model = LineModel(type: .secondary)
|
model = LineModel(type: .secondary)
|
||||||
|
setStyle(.secondary)
|
||||||
}
|
}
|
||||||
|
|
||||||
public required init?(coder: NSCoder) {
|
public required init?(coder: NSCoder) {
|
||||||
super.init(coder: coder)
|
super.init(coder: coder)
|
||||||
model = LineModel(type: .secondary)
|
model = LineModel(type: .secondary)
|
||||||
|
setStyle(.secondary)
|
||||||
}
|
}
|
||||||
|
|
||||||
public required init(model: MoleculeModelProtocol, _ delegateObject: MVMCoreUIDelegateObject?, _ additionalData: [AnyHashable : Any]?) {
|
public required init(model: MoleculeModelProtocol, _ delegateObject: MVMCoreUIDelegateObject?, _ additionalData: [AnyHashable : Any]?) {
|
||||||
|
|||||||
@ -68,7 +68,6 @@ import VDSColorTokens
|
|||||||
open override func setupView() {
|
open override func setupView() {
|
||||||
super.setupView()
|
super.setupView()
|
||||||
backgroundColor = VDSColor.backgroundPrimaryLight
|
backgroundColor = VDSColor.backgroundPrimaryLight
|
||||||
bottomLine.setStyle(.secondary)
|
|
||||||
addSubview(bottomLine)
|
addSubview(bottomLine)
|
||||||
setupCollectionView()
|
setupCollectionView()
|
||||||
setupSelectionLine()
|
setupSelectionLine()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user