diff --git a/src/gestures.tsx b/src/gestures.tsx index f6f6a26..cd180d8 100644 --- a/src/gestures.tsx +++ b/src/gestures.tsx @@ -112,6 +112,8 @@ export const ToastSwipeHandler: React.FC< }); const tap = Gesture.Tap().onEnd(() => { + 'worklet'; + if (onPress) { runOnJS(onPress)(); }