Skip to content

Commit 6a8ff89

Browse files
authored
minor code style update
1 parent c17a79a commit 6a8ff89

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

app/src/main/kotlin/com/simplemobiletools/keyboard/helpers/AccessHelper.kt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,10 @@ class AccessHelper(
3030
val rects = keys.map {
3131
Rect(it.x, it.y, it.x + it.width, it.y + it.height)
3232
}
33-
rects.firstOrNull { it.contains(x.toInt(), y.toInt()) }?.let { exactRect ->
34-
return rects.indexOf(exactRect)
35-
} ?: return HOST_ID
33+
34+
return rects.firstOrNull { it.contains(x.toInt(), y.toInt()) }?.let { exactRect ->
35+
rects.indexOf(exactRect)
36+
} ?: HOST_ID
3637
}
3738

3839
/**

0 commit comments

Comments
 (0)