Skip to content

Commit fb98bcd

Browse files
authored
[iOS] Fix manual activation crash (#3890)
## Description In #3855 we've introduced `fromReset` argument for `handleGesture`. However, `ManualActivationRecognizer` does not have such signature. This PR removes it from selector as `fromReset` is not passed anyway. ## Test plan Check that on `Pressable` example app no longer crashes when clicking on **press retention** area.
1 parent 6dddda8 commit fb98bcd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-native-gesture-handler/apple/RNManualActivationRecognizer.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ @implementation RNManualActivationRecognizer {
88

99
- (id)initWithGestureHandler:(RNGestureHandler *)gestureHandler
1010
{
11-
if ((self = [super initWithTarget:self action:@selector(handleGesture:fromReset:)])) {
11+
if ((self = [super initWithTarget:self action:@selector(handleGesture:)])) {
1212
_handler = gestureHandler;
1313
_activePointers = 0;
1414
self.delegate = self;

0 commit comments

Comments
 (0)