mirror of https://git.lenooby09.tech/LeNooby09/social-app.git
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at ruby-v 13 lines 851 B view raw
1diff --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 2index 1520465..6ea988a 100644 3--- a/node_modules/expo-haptics/android/src/main/java/expo/modules/haptics/HapticsModule.kt 4+++ b/node_modules/expo-haptics/android/src/main/java/expo/modules/haptics/HapticsModule.kt 5@@ -42,7 +42,7 @@ class HapticsModule : Module() { 6 7 private fun vibrate(type: HapticsVibrationType) { 8 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) { 9- vibrator.vibrate(VibrationEffect.createWaveform(type.timings, type.amplitudes, -1)) 10+ vibrator.vibrate(VibrationEffect.createWaveform(type.oldSDKPattern, intArrayOf(0, 100), -1)) 11 } else { 12 @Suppress("DEPRECATION") 13 vibrator.vibrate(type.oldSDKPattern, -1)