Skip to content

Commit

Permalink
chore: add preventNativeDismiss prop update
Browse files Browse the repository at this point in the history
  • Loading branch information
kkafar committed May 4, 2022
1 parent 13caebb commit ec4e7d1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ios/RNSScreen.mm
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,9 @@ - (void)updateProps:(facebook::react::Props::Shared const &)props
[self
setGestureResponseDistance:[RNSConvert
gestureResponseDistanceDictFromCppStruct:newScreenProps.gestureResponseDistance]];


[self setPreventNativeDismiss:newScreenProps.preventNativeDismiss];

#if !TARGET_OS_TV
if (newScreenProps.statusBarHidden != oldScreenProps.statusBarHidden) {
[self setStatusBarHidden:newScreenProps.statusBarHidden];
Expand Down

0 comments on commit ec4e7d1

Please sign in to comment.