diff --git a/package.json b/package.json index 6029f5a..044f7a6 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,8 @@ "react-native-screens@4.30.0": "patches/react-native-screens@4.30.0.patch", "react-native-reanimated@4.7.1": "patches/react-native-reanimated@4.7.1.patch", "expo-modules-core@58.0.24": "patches/expo-modules-core@58.0.24.patch", - "expo-file-system@58.0.10": "patches/expo-file-system@58.0.10.patch" + "expo-file-system@58.0.10": "patches/expo-file-system@58.0.10.patch", + "@react-native-community/slider@5.2.1": "patches/@react-native-community__slider@5.2.1.patch" } } } diff --git a/patches/@react-native-community__slider@5.2.1.patch b/patches/@react-native-community__slider@5.2.1.patch new file mode 100644 index 0000000..fb8e830 --- /dev/null +++ b/patches/@react-native-community__slider@5.2.1.patch @@ -0,0 +1,14 @@ +diff --git a/ios/RNCSliderComponentView.mm b/ios/RNCSliderComponentView.mm +index aa9eb66a486a53762490ed720c5dd2f3a618a166..feb786dce183fff6ee326aa949ee90820cf80c96 100644 +--- a/ios/RNCSliderComponentView.mm ++++ b/ios/RNCSliderComponentView.mm +@@ -24,7 +24,8 @@ using namespace facebook::react; + { + RNCSlider *slider; + UIImage *_image; +- BOOL _isSliding; ++ // Match the protocol's C++ bool; BOOL is signed char on x86_64 Catalyst. ++ bool _isSliding; + } + + + (ComponentDescriptorProvider)componentDescriptorProvider diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3d6896c..5062855 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -5,6 +5,9 @@ settings: excludeLinksFromLockfile: false patchedDependencies: + '@react-native-community/slider@5.2.1': + hash: 73deacaea9aae000a42050d343517da9e16e736e92a4fff3f61f81dba093a1c4 + path: patches/@react-native-community__slider@5.2.1.patch expo-audio@58.0.10: hash: f7f102c0f17b28e763d828acd4f138d62809f5be576e316a13008c27e84968c5 path: patches/expo-audio@58.0.10.patch @@ -57,7 +60,7 @@ importers: version: 2.2.0(react-native@0.88.0(@babel/core@7.29.7)(@react-native/metro-config@0.88.0(@babel/core@7.29.7))(@types/react@19.3.0)(react@19.3.0)) '@react-native-community/slider': specifier: 5.2.1 - version: 5.2.1 + version: 5.2.1(patch_hash=73deacaea9aae000a42050d343517da9e16e736e92a4fff3f61f81dba093a1c4) '@react-native/metro-config': specifier: 0.88.0 version: 0.88.0(@babel/core@7.29.7) @@ -9232,7 +9235,7 @@ snapshots: merge-options: 3.0.4 react-native: 0.88.0(@babel/core@7.29.7)(@react-native/metro-config@0.88.0(@babel/core@7.29.7))(@types/react@19.3.0)(react@19.3.0) - '@react-native-community/slider@5.2.1': {} + '@react-native-community/slider@5.2.1(patch_hash=73deacaea9aae000a42050d343517da9e16e736e92a4fff3f61f81dba093a1c4)': {} '@react-native-masked-view/masked-view@0.3.2(react-native@0.88.0(@babel/core@7.29.7)(@react-native/metro-config@0.88.0(@babel/core@7.29.7))(@types/react@19.3.0)(react@19.3.0))(react@19.3.0)': dependencies: