Skip to content

Commit

Permalink
Fixes typo
Browse files Browse the repository at this point in the history
  • Loading branch information
s4cha committed Jan 17, 2022
1 parent af93672 commit b14abc2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Sources/KeyboardLayoutGuide/KeyboardLayoutGuide.swift
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ extension UIView {
open class KeyboardLayoutGuide: UILayoutGuide {
public var usesSafeArea = true {
didSet {
updateButtomAnchor()
updateBottomAnchor()
}
}

Expand Down Expand Up @@ -85,10 +85,10 @@ open class KeyboardLayoutGuide: UILayoutGuide {
rightAnchor.constraint(equalTo: view.rightAnchor),
]
)
updateButtomAnchor()
updateBottomAnchor()
}

func updateButtomAnchor() {
func updateBottomAnchor() {
if let bottomConstraint = bottomConstraint {
bottomConstraint.isActive = false
}
Expand Down

0 comments on commit b14abc2

Please sign in to comment.