Skip to content

Commit 6a0d6ce

Browse files
committed
Enable haptic feedback on FAB long-press
1 parent faa4f64 commit 6a0d6ce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/FloatingActionButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ function FloatingActionButton({onPress, onLongPress, isActive, accessibilityLabe
136136
onPress={toggleFabAction}
137137
onLongPress={longPressFabAction}
138138
role={role}
139-
shouldUseHapticsOnLongPress={true}
139+
shouldUseHapticsOnLongPress
140140
testID="floating-action-button"
141141
>
142142
<Animated.View style={[styles.floatingActionButton, {borderRadius}, isLHBVisible && styles.floatingActionButtonSmall, animatedStyle]}>

0 commit comments

Comments
 (0)