Skip to content

Commit

Permalink
fix(ios): fix MediaModule compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
hansemannn committed Oct 17, 2020
1 parent abf73f7 commit 8898438
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iphone/Classes/MediaModule.m
Original file line number Diff line number Diff line change
Expand Up @@ -2016,7 +2016,7 @@ - (void)popoverPresentationControllerDidDismissPopover:(UIPopoverPresentationCon
- (void)presentationControllerDidDismiss:(UIPresentationController *)presentationController
{
#if defined(USE_TI_MEDIASHOWCAMERA) || defined(USE_TI_MEDIAOPENPHOTOGALLERY) || defined(USE_TI_MEDIASTARTVIDEOEDITING)
#if IS_SDK_IOS_14
#if IS_SDK_IOS_14 && defined(USE_TI_MEDIAOPENPHOTOGALLERY)
[self closeModalPicker:picker ?: _phPicker];
#else
[self closeModalPicker:picker];
Expand Down

0 comments on commit 8898438

Please sign in to comment.