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() {
|
||||
super.init(frame: .zero)
|
||||
model = LineModel(type: .secondary)
|
||||
setStyle(.secondary)
|
||||
}
|
||||
|
||||
public override init(frame: CGRect) {
|
||||
super.init(frame: frame)
|
||||
model = LineModel(type: .secondary)
|
||||
setStyle(.secondary)
|
||||
}
|
||||
|
||||
public required init?(coder: NSCoder) {
|
||||
super.init(coder: coder)
|
||||
model = LineModel(type: .secondary)
|
||||
setStyle(.secondary)
|
||||
}
|
||||
|
||||
public required init(model: MoleculeModelProtocol, _ delegateObject: MVMCoreUIDelegateObject?, _ additionalData: [AnyHashable : Any]?) {
|
||||
|
||||
@ -68,7 +68,6 @@ import VDSColorTokens
|
||||
open override func setupView() {
|
||||
super.setupView()
|
||||
backgroundColor = VDSColor.backgroundPrimaryLight
|
||||
bottomLine.setStyle(.secondary)
|
||||
addSubview(bottomLine)
|
||||
setupCollectionView()
|
||||
setupSelectionLine()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user