Skip to content

Commit

Permalink
fix(ios): only include presentationControllerDidDismiss when photogal…
Browse files Browse the repository at this point in the history
…lery is used (#11968)

Fixes TIMOB-28100
  • Loading branch information
ewanharris committed Aug 28, 2020
1 parent 09f20d2 commit 14a5e5b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions iphone/Classes/MediaModule.m
Original file line number Diff line number Diff line change
Expand Up @@ -1823,8 +1823,10 @@ - (void)popoverPresentationControllerDidDismissPopover:(UIPopoverPresentationCon
#if IS_SDK_IOS_13
- (void)presentationControllerDidDismiss:(UIPresentationController *)presentationController
{
#if defined(USE_TI_MEDIASHOWCAMERA) || defined(USE_TI_MEDIAOPENPHOTOGALLERY) || defined(USE_TI_MEDIASTARTVIDEOEDITING)
[self closeModalPicker:picker];
[self sendPickerCancel];
#endif
}
#endif

Expand Down

0 comments on commit 14a5e5b

Please sign in to comment.