You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

react-native-gesture-handler+2.1.0.patch 728B

12345678910111213
  1. diff --git a/node_modules/react-native-gesture-handler/android/build.gradle b/node_modules/react-native-gesture-handler/android/build.gradle
  2. index 8afc3d5..4b1f721 100644
  3. --- a/node_modules/react-native-gesture-handler/android/build.gradle
  4. +++ b/node_modules/react-native-gesture-handler/android/build.gradle
  5. @@ -26,7 +26,7 @@ def shouldUseCommonInterfaceFromReanimated() {
  6. def json = new JsonSlurper().parseText(inputFile.text)
  7. def reanimatedVersion = json.version as String
  8. def (major, minor, patch) = reanimatedVersion.tokenize('.')
  9. - return Integer.parseInt(minor) >= 3
  10. + return Integer.parseInt(major) >= 2 && Integer.parseInt(minor) >= 3
  11. } else {
  12. return false
  13. }