Skip to content

Commit

Permalink
Fix validation defining interface for previous iOS versions
Browse files Browse the repository at this point in the history
  • Loading branch information
jdnichollsc committed Nov 25, 2019
1 parent 37c0b9a commit 78ab34f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ios/RNInAppBrowser.m
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@

#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wpartial-availability"
#if defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && defined(__IPHONE_13_0) && __IPHONE_OS_VERSION_MAX_ALLOWED < __IPHONE_13_0
@interface RNInAppBrowser () <SFSafariViewControllerDelegate, UIAdaptivePresentationControllerDelegate>
#else
#if defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && defined(__IPHONE_13_0) && __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_13_0
@interface RNInAppBrowser () <SFSafariViewControllerDelegate, ASWebAuthenticationPresentationContextProviding, UIAdaptivePresentationControllerDelegate>
#else
@interface RNInAppBrowser () <SFSafariViewControllerDelegate, UIAdaptivePresentationControllerDelegate>
#endif
@end
#pragma clang diagnostic pop
Expand Down

0 comments on commit 78ab34f

Please sign in to comment.