removed legacy properties

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2023-12-11 14:19:49 -06:00
parent 18372f9ed6
commit 49a385c12a

View File

@ -19,10 +19,8 @@ import UIKit
// MARK: - MFViewProtocol // MARK: - MFViewProtocol
override public func setupView() { override public func setupView() {
super.setupView() super.setupView()
tabs.paddingBeforeFirstTab = false
tabs.translatesAutoresizingMaskIntoConstraints = false tabs.translatesAutoresizingMaskIntoConstraints = false
tabs.delegate = self tabs.delegate = self
tabs.bottomLine.setStyle(.none)
contentView.addSubview(tabs) contentView.addSubview(tabs)
NSLayoutConstraint.activate(Array(NSLayoutConstraint.pinView(toSuperview: tabs, useMargins: true).values)) NSLayoutConstraint.activate(Array(NSLayoutConstraint.pinView(toSuperview: tabs, useMargins: true).values))
@ -47,7 +45,6 @@ import UIKit
public override func reset() { public override func reset() {
super.reset() super.reset()
tabs.reset() tabs.reset()
tabs.paddingBeforeFirstTab = false
} }
public override class func estimatedHeight(with model: MoleculeModelProtocol, _ delegateObject: MVMCoreUIDelegateObject?) -> CGFloat? { 46 } public override class func estimatedHeight(with model: MoleculeModelProtocol, _ delegateObject: MVMCoreUIDelegateObject?) -> CGFloat? { 46 }