fix to size check

This commit is contained in:
Pfeil, Scott Robert 2019-03-25 12:59:07 -04:00
parent b7556fdce9
commit b25b869c4d

View File

@ -71,7 +71,7 @@ public class StandardFooterView: ViewConstrainingView {
if !(twoButtonView.heightConstraint?.isActive ?? false) && textButton.title(for: UIControl.State.normal)?.count ?? 0 > 0 {
spaceBetweenButtons?.constant = PaddingTwo
show()
} else if twoButtonView.subviews.count > 0 || textButton.title(for: UIControl.State.normal)?.count ?? 0 > 0 {
} else if !(twoButtonView.heightConstraint?.isActive ?? false) || textButton.title(for: UIControl.State.normal)?.count ?? 0 > 0 {
spaceBetweenButtons?.constant = 0
show()
} else {