Skip to content

Commit e27af26

Browse files
committed
Cleanup noops
1 parent 45998c0 commit e27af26

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,12 +105,10 @@ class RNGestureHandlerModule(reactContext: ReactApplicationContext?) :
105105
}
106106

107107
@ReactMethod
108-
override fun handleClearJSResponder() {
109-
}
108+
override fun handleClearJSResponder() = Unit
110109

111110
@ReactMethod
112-
override fun flushOperations() {
113-
}
111+
override fun flushOperations() = Unit
114112

115113
override fun setGestureHandlerState(handlerTag: Int, newState: Int) {
116114
registry.getHandler(handlerTag)?.let { handler ->

0 commit comments

Comments
 (0)