From 5b8d6c33786fc9493b15e0e46f16c97afa92826e Mon Sep 17 00:00:00 2001 From: kirillzyusko Date: Fri, 17 Jan 2025 16:33:05 +0100 Subject: [PATCH] fix: swiftlint --- ios/observers/FocusedInputObserver.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ios/observers/FocusedInputObserver.swift b/ios/observers/FocusedInputObserver.swift index 80e2351f7..ada73dc0c 100644 --- a/ios/observers/FocusedInputObserver.swift +++ b/ios/observers/FocusedInputObserver.swift @@ -174,7 +174,7 @@ public class FocusedInputObserver: NSObject { func onBlur() { // when we switch to next input, but `showSoftInput={false}` - if UIResponder.current as? TextInput != nil { + if UIResponder.current is TextInput { return } removeObservers(newResponder: nil)