Skip to content

Commit

Permalink
Revert D19836548: Prevent modal dismissal with swipe gestures
Browse files Browse the repository at this point in the history
Differential Revision:
D19836548

Original commit changeset: 2b8c80b86356

fbshipit-source-id: c8118f671e2a5e4d2b2f32a704b0cdc227d5c6c5
  • Loading branch information
Shu Lin authored and facebook-github-bot committed Feb 12, 2020
1 parent ca431c2 commit 66f89e2
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions React/Views/RCTModalHostViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,7 @@ - (instancetype)init
if (!(self = [super init])) {
return nil;
}

if (@available(iOS 13.0, *)) {
self.modalInPresentation = YES;
}


#if !TARGET_OS_TV
_preferredStatusBarStyle = [RCTSharedApplication() statusBarStyle];
_preferredStatusBarHidden = [RCTSharedApplication() isStatusBarHidden];
Expand Down

0 comments on commit 66f89e2

Please sign in to comment.