You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/core/GestureHandler.kt
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -852,7 +852,11 @@ open class GestureHandler<ConcreteGestureHandlerT : GestureHandler<ConcreteGestu
Copy file name to clipboardExpand all lines: packages/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerModule.kt
+8-14Lines changed: 8 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -42,10 +42,8 @@ class RNGestureHandlerModule(reactContext: ReactApplicationContext?) :
42
42
val handlerFactory =RNGestureHandlerFactoryUtil.findFactoryForName<T>(handlerName)
43
43
?:throwJSApplicationIllegalArgumentException("Invalid handler name $handlerName")
44
44
45
-
val handler = handlerFactory.create(reactApplicationContext).apply {
46
-
tag = handlerTag
47
-
setOnTouchEventListener(eventDispatcher)
48
-
}
45
+
val handler = handlerFactory.create(reactApplicationContext, handlerTag)
0 commit comments