Skip to content

Commit ee22df7

Browse files
authored
fix(android): add support for RN 0.78.0 (#143)
1 parent 708ee25 commit ee22df7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

android/src/main/java/com/lodev09/truesheet/core/RootSheetView.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -86,15 +86,15 @@ class RootSheetView(private val context: Context?) :
8686
}
8787

8888
@Deprecated("Deprecated in Java")
89-
override fun onChildStartedNativeGesture(ev: MotionEvent?) {
89+
override fun onChildStartedNativeGesture(ev: MotionEvent) {
9090
eventDispatcher?.let {
9191
if (ev != null) {
9292
jSTouchDispatcher.onChildStartedNativeGesture(ev, it)
9393
}
9494
}
9595
}
9696

97-
override fun onChildStartedNativeGesture(childView: View, ev: MotionEvent) {
97+
override fun onChildStartedNativeGesture(childView: View?, ev: MotionEvent) {
9898
eventDispatcher?.let { jSTouchDispatcher.onChildStartedNativeGesture(ev, it) }
9999
jSPointerDispatcher?.onChildStartedNativeGesture(childView, ev, eventDispatcher)
100100
}

0 commit comments

Comments
 (0)