Skip to content

Commit b14abc2

Browse files
committed
Fixes typo
1 parent af93672 commit b14abc2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Sources/KeyboardLayoutGuide/KeyboardLayoutGuide.swift

+3-3
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ extension UIView {
4747
open class KeyboardLayoutGuide: UILayoutGuide {
4848
public var usesSafeArea = true {
4949
didSet {
50-
updateButtomAnchor()
50+
updateBottomAnchor()
5151
}
5252
}
5353

@@ -85,10 +85,10 @@ open class KeyboardLayoutGuide: UILayoutGuide {
8585
rightAnchor.constraint(equalTo: view.rightAnchor),
8686
]
8787
)
88-
updateButtomAnchor()
88+
updateBottomAnchor()
8989
}
9090

91-
func updateButtomAnchor() {
91+
func updateBottomAnchor() {
9292
if let bottomConstraint = bottomConstraint {
9393
bottomConstraint.isActive = false
9494
}

0 commit comments

Comments
 (0)