mattermost-mobile/patches/react-native-haptic-feedback+1.14.0.patch
Elias Nahum 8137241f12
[V1] update deps (#6666)
* v1 update dependencies

* fix eslint

* update ci node version

* Fix detox and jest expect imports

* update gradle memory settings

* QA feedback

* android executor xlarge

Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com>
2022-10-13 08:40:43 -03:00

13 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}));