Skip to content

Commit

Permalink
fix: ktlint
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillzyusko committed Feb 1, 2024
1 parent 7c38355 commit 302a35d
Showing 1 changed file with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,13 @@ class FocusedInputObserver(val view: ReactViewGroup, private val context: Themed
val allInputFields = ViewHierarchyNavigator.getAllInputFields(context?.rootView)
val currentIndex = allInputFields.indexOf(newFocus)

context.emitEvent("KeyboardController::focusDidSet", Arguments.createMap().apply {
putInt("current", currentIndex)
putInt("count", allInputFields.size)
})
context.emitEvent(
"KeyboardController::focusDidSet",
Arguments.createMap().apply {
putInt("current", currentIndex)
putInt("count", allInputFields.size)
},
)
}
// unfocused
if (newFocus == null) {
Expand Down

0 comments on commit 302a35d

Please sign in to comment.