This commit is contained in:
Pfeil, Scott Robert 2019-03-11 14:45:21 -04:00
parent bf656cffea
commit be045ac4a9

View File

@ -28,7 +28,9 @@ public class StandardFooterView: ViewConstrainingView {
public override func setupView() {
super.setupView()
if subviews.count == 0 {
guard subviews.count == 0 else {
return
}
translatesAutoresizingMaskIntoConstraints = false
backgroundColor = .clear
clipsToBounds = true
@ -62,7 +64,6 @@ public class StandardFooterView: ViewConstrainingView {
heightConstraint = heightAnchor.constraint(equalToConstant: 0)
}
}
public func setSpacing() {
if twoButtonView.subviews.count > 0 && textButton.title(for: UIControl.State.normal)?.count ?? 0 > 0 {