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
{{ message }}
Repository navigation
Commit a724f16
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: packages/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/core/GestureHandler.kt
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -902,8 +902,8 @@ open class GestureHandler {
902
902
if (config.hasKey(KEY_DISPATCHES_ANIMATED_EVENTS)) {
`${type}: You cannot use Animated.Event together with callbacks running on the UI thread. Either remove Animated.Event from onUpdate, or set runOnJS property to true on the gesture.`
@@ -69,7 +61,7 @@ export function useGesture<THandlerData, TConfig>(
69
61
}
70
62
71
63
if(
72
-
config.shouldUseReanimated&&
64
+
config.shouldUseReanimatedDetector&&
73
65
(!onReanimatedStateChange||
74
66
!onReanimatedUpdateEvent||
75
67
!onReanimatedTouchEvent)
@@ -92,7 +84,7 @@ export function useGesture<THandlerData, TConfig>(
0 commit comments