software-mansion / react-native-gesture-handler

Declarative API exposing platform native touch and gesture system to React Native.
https://docs.swmansion.com/react-native-gesture-handler/
MIT License
6.13k stars 982 forks source link

Make handler comparator work only on non-null objects #2964

Closed j-piasecki closed 4 months ago

j-piasecki commented 4 months ago

Description

Should close https://github.com/software-mansion/react-native-gesture-handler/issues/2960

Changes the comparator type to work only with non-null objects, since it's only used in this way. It was probably a leftover from migration to Kotlin.

Test plan

Build the app