fix to size check
This commit is contained in:
parent
b7556fdce9
commit
b25b869c4d
@ -71,7 +71,7 @@ public class StandardFooterView: ViewConstrainingView {
|
|||||||
if !(twoButtonView.heightConstraint?.isActive ?? false) && textButton.title(for: UIControl.State.normal)?.count ?? 0 > 0 {
|
if !(twoButtonView.heightConstraint?.isActive ?? false) && textButton.title(for: UIControl.State.normal)?.count ?? 0 > 0 {
|
||||||
spaceBetweenButtons?.constant = PaddingTwo
|
spaceBetweenButtons?.constant = PaddingTwo
|
||||||
show()
|
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
|
spaceBetweenButtons?.constant = 0
|
||||||
show()
|
show()
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user