From b14abc2ff6a6b934b81b7004edb65f910ac68bdc Mon Sep 17 00:00:00 2001 From: "sachadso@gmail.com" Date: Mon, 17 Jan 2022 17:54:40 +0100 Subject: [PATCH] Fixes typo --- Sources/KeyboardLayoutGuide/KeyboardLayoutGuide.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Sources/KeyboardLayoutGuide/KeyboardLayoutGuide.swift b/Sources/KeyboardLayoutGuide/KeyboardLayoutGuide.swift index 7e105f0..fa36f2d 100644 --- a/Sources/KeyboardLayoutGuide/KeyboardLayoutGuide.swift +++ b/Sources/KeyboardLayoutGuide/KeyboardLayoutGuide.swift @@ -47,7 +47,7 @@ extension UIView { open class KeyboardLayoutGuide: UILayoutGuide { public var usesSafeArea = true { didSet { - updateButtomAnchor() + updateBottomAnchor() } } @@ -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 }