Files
mattermost-mobile/patches/react-native-haptic-feedback+2.0.3.patch
Elias Nahum 784b05fe97 Upgrade Dependencies (#7299)
* upgrade reanimated

* update devDependencies

* upgrade react-intl

* update react-native and some dependencies

* update react-native-permissions

* update RN

* use Share sheet for Report a problem

* update Sentry

* remove step to downloadWebRTC

* update detox deps

* feedback review
2023-04-21 12:16:54 -04:00

14 lines
1.1 KiB
Diff

diff --git a/node_modules/react-native-haptic-feedback/android/src/main/java/com/mkuczera/VibrateFactory/VibrateFactory.java b/node_modules/react-native-haptic-feedback/android/src/main/java/com/mkuczera/VibrateFactory/VibrateFactory.java
index 167118f..e7b8fc4 100644
--- a/node_modules/react-native-haptic-feedback/android/src/main/java/com/mkuczera/VibrateFactory/VibrateFactory.java
+++ b/node_modules/react-native-haptic-feedback/android/src/main/java/com/mkuczera/VibrateFactory/VibrateFactory.java
@@ -15,7 +15,7 @@ import com.mkuczera.VibrateWithCreatePredefined;
public class VibrateFactory {
static Map<String, Vibrate> vibrateMap = new HashMap<>();
static {
- vibrateMap.put("impactLight", new VibrateWithDuration(new long[]{0, 20}));
+ vibrateMap.put("impactLight", new VibrateWithDuration(new long[]{0, 5}));
vibrateMap.put("impactMedium", new VibrateWithDuration(new long[]{0, 40}));
vibrateMap.put("impactHeavy", new VibrateWithDuration(new long[]{0, 60}));
vibrateMap.put("notificationSuccess", new VibrateWithDuration(new long[]{0, 40 ,60, 20}));