diff --git a/components/VoiceFAB.tsx b/components/VoiceFAB.tsx index a4b7667..19c0d9a 100644 --- a/components/VoiceFAB.tsx +++ b/components/VoiceFAB.tsx @@ -15,6 +15,7 @@ import { } from 'react-native'; import { Ionicons } from '@expo/vector-icons'; import { useSafeAreaInsets } from 'react-native-safe-area-context'; +import * as Haptics from 'expo-haptics'; import { AppColors, BorderRadius } from '@/constants/theme'; import { useVoiceCall } from '@/contexts/VoiceCallContext'; @@ -66,8 +67,9 @@ export function VoiceFAB({ onPress, style, disabled = false }: VoiceFABProps) { } }, [isCallActive, scale, opacity]); - // Press animation + // Press animation with haptic feedback const handlePressIn = () => { + Haptics.impactAsync(Haptics.ImpactFeedbackStyle.Medium); Animated.spring(scale, { toValue: 0.9, friction: 5,