Skip to content

Commit b396263

Browse files
committed
remove unused method
1 parent 1502684 commit b396263

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -210,12 +210,6 @@ class RNGestureHandlerEventDispatcher(private val reactApplicationContext: React
210210
reactApplicationContext.dispatchEvent(event)
211211
}
212212

213-
private fun <T : Event<T>> sendEventForDirectEvent(event: T) {
214-
// TODO: Remove root usage of this method.
215-
// Delivers the event to JS as a direct event. This method is called only on Paper.
216-
reactApplicationContext.dispatchEvent(event)
217-
}
218-
219213
private fun sendEventForDeviceEvent(eventName: String, data: WritableMap) {
220214
// Delivers the event to JS as a device event.
221215
reactApplicationContext.deviceEventEmitter.emit(eventName, data)

0 commit comments

Comments
 (0)