chore: adjust haptic feedback

This commit is contained in:
Adrian Castro
2024-02-23 06:46:09 +01:00
parent 2876cfd8e9
commit 271e6be96e
2 changed files with 2 additions and 4 deletions

View File

@@ -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();