about summary refs log tree commit diff
path: root/patches/expo-haptics+14.0.0.patch
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2025-04-07 20:29:41 -0500
committerGitHub <noreply@github.com>2025-04-07 18:29:41 -0700
commit872fcd1d20e2e3981eca77190b3eaa380b9aca76 (patch)
treec88c383a256699cbc4c775eb1735937e70273f2c /patches/expo-haptics+14.0.0.patch
parentd496b5bdbff64b02baf00654c3a82bfe7153bf77 (diff)
downloadvoidsky-872fcd1d20e2e3981eca77190b3eaa380b9aca76.tar.zst
Update patches (#8151)
* Update patches after #8133

* Bump deps

* Revert @react-native-picker/picker downgrade

* Migrate RN patch
Diffstat (limited to 'patches/expo-haptics+14.0.0.patch')
-rw-r--r--patches/expo-haptics+14.0.0.patch13
1 files changed, 0 insertions, 13 deletions
diff --git a/patches/expo-haptics+14.0.0.patch b/patches/expo-haptics+14.0.0.patch
deleted file mode 100644
index 9c7b9a666..000000000
--- a/patches/expo-haptics+14.0.0.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/node_modules/expo-haptics/android/src/main/java/expo/modules/haptics/HapticsModule.kt b/node_modules/expo-haptics/android/src/main/java/expo/modules/haptics/HapticsModule.kt
-index 1520465..6ea988a 100644
---- a/node_modules/expo-haptics/android/src/main/java/expo/modules/haptics/HapticsModule.kt
-+++ b/node_modules/expo-haptics/android/src/main/java/expo/modules/haptics/HapticsModule.kt
-@@ -42,7 +42,7 @@ class HapticsModule : Module() {
- 
-   private fun vibrate(type: HapticsVibrationType) {
-     if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
--      vibrator.vibrate(VibrationEffect.createWaveform(type.timings, type.amplitudes, -1))
-+      vibrator.vibrate(VibrationEffect.createWaveform(type.oldSDKPattern, intArrayOf(0, 100), -1))
-     } else {
-       @Suppress("DEPRECATION")
-       vibrator.vibrate(type.oldSDKPattern, -1)