Skip to content

Commit

Permalink
fix: swiftlint
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillzyusko committed Jan 17, 2025
1 parent d8083d2 commit 5b8d6c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/observers/FocusedInputObserver.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5b8d6c3

Please sign in to comment.