Skip to content

Commit

Permalink
Specify minimal SDK version for enableTrackpadTwoFingerGesture (softw…
Browse files Browse the repository at this point in the history
  • Loading branch information
KenCorma authored Jan 8, 2021
1 parent ddb4a15 commit db78d3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/Handlers/RNPanHandler.m
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ - (void)configure:(NSDictionary *)config
APPLY_FLOAT_PROP(failOffsetYStart);
APPLY_FLOAT_PROP(failOffsetYEnd);

#if !TARGET_OS_TV
#if !TARGET_OS_TV && __IPHONE_OS_VERSION_MAX_ALLOWED >= 130400
if (@available(iOS 13.4, *)) {
bool enableTrackpadTwoFingerGesture = [RCTConvert BOOL:config[@"enableTrackpadTwoFingerGesture"]];
if(enableTrackpadTwoFingerGesture){
Expand Down

0 comments on commit db78d3c

Please sign in to comment.