Skip to content

Commit

Permalink
fix(ios): guard PHPicker usage with openPhotoGallery
Browse files Browse the repository at this point in the history
Fixes TIMOB-28151
  • Loading branch information
ewanharris authored and sgtcoolguy committed Sep 24, 2020
1 parent 602e8f7 commit c5d6d8d
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 @@ -1784,7 +1784,7 @@ - (void)handleTrimmedVideo:(NSURL *)theURL withDictionary:(NSDictionary *)dictio
}
#endif

#if IS_SDK_IOS_14
#if IS_SDK_IOS_14 && defined(USE_TI_MEDIAOPENPHOTOGALLERY)
- (void)showPHPicker:(NSDictionary *)args
{
if (_phPicker != nil) {
Expand Down

0 comments on commit c5d6d8d

Please sign in to comment.