Skip to content

Commit c9a83a5

Browse files
committed
Fixing heightConstraint
1 parent e1fe8a6 commit c9a83a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

KeyboardLayoutGuide/KeyboardLayoutGuide/Keyboard+LayoutGuide.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ open class KeyboardLayoutGuide: UILayoutGuide {
9898
extension UILayoutGuide {
9999
internal var heightConstraint: NSLayoutConstraint? {
100100
return owningView?.constraints.first {
101-
$0 == self && $0.firstAttribute == .height
101+
$0.firstItem as? UILayoutGuide == self && $0.firstAttribute == .height
102102
}
103103
}
104104
}

0 commit comments

Comments
 (0)