From 271e6be96ef0acc7d8662ba735cd6626d5d7c9ca Mon Sep 17 00:00:00 2001 From: Adrian Castro <22133246+castdrian@users.noreply.github.com> Date: Fri, 23 Feb 2024 06:46:09 +0100 Subject: [PATCH] chore: adjust haptic feedback --- apps/expo/src/app/(tabs)/_layout.tsx | 4 +--- apps/expo/src/components/player/VideoPlayer.tsx | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/apps/expo/src/app/(tabs)/_layout.tsx b/apps/expo/src/app/(tabs)/_layout.tsx index bab2d2d..e346d59 100644 --- a/apps/expo/src/app/(tabs)/_layout.tsx +++ b/apps/expo/src/app/(tabs)/_layout.tsx @@ -22,9 +22,7 @@ export default function TabLayout() { }} screenListeners={({ route }) => ({ tabPress: () => { - void Haptics.notificationAsync( - Haptics.NotificationFeedbackType.Success, - ); + void Haptics.impactAsync(Haptics.ImpactFeedbackStyle.Light); switch (route.name) { case "search": focusSearchInputRef.current(); diff --git a/apps/expo/src/components/player/VideoPlayer.tsx b/apps/expo/src/components/player/VideoPlayer.tsx index d1f2b00..9907719 100644 --- a/apps/expo/src/components/player/VideoPlayer.tsx +++ b/apps/expo/src/components/player/VideoPlayer.tsx @@ -59,7 +59,7 @@ export const VideoPlayer = () => { const updateResizeMode = (newMode: ResizeMode) => { setResizeMode(newMode); - void Haptics.notificationAsync(Haptics.NotificationFeedbackType.Success); + void Haptics.impactAsync(Haptics.ImpactFeedbackStyle.Light); }; const pinchGesture = Gesture.Pinch().onUpdate((e) => {