Skip to content

Commit 7827f85

Browse files
committed
Update root helper
1 parent 118572a commit 7827f85

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

packages/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerModule.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,11 @@ import com.swmansion.gesturehandler.core.GestureHandler
1919
class RNGestureHandlerModule(reactContext: ReactApplicationContext?) :
2020
NativeRNGestureHandlerModuleSpec(reactContext), GestureHandlerStateManager {
2121

22-
private val eventDispatcher = RNGestureHandlerEventDispatcher(reactApplicationContext)
2322
val registry: RNGestureHandlerRegistry = RNGestureHandlerRegistry()
23+
private val eventDispatcher = RNGestureHandlerEventDispatcher(reactApplicationContext)
2424
private val interactionManager = RNGestureHandlerInteractionManager()
2525
private val roots: MutableList<RNGestureHandlerRootHelper> = ArrayList()
26+
2627
override fun getName() = NAME
2728

2829
@Suppress("UNCHECKED_CAST")

0 commit comments

Comments
 (0)