Skip to content

Commit

Permalink
fix(ios): fix MediaModule compile error (#12192)
Browse files Browse the repository at this point in the history
Fixes TIMOB-28202
  • Loading branch information
build committed Oct 19, 2020
1 parent 701bcec commit b8d2cd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iphone/Classes/MediaModule.m
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 b8d2cd1

Please sign in to comment.