Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor-Plaud committed Oct 16, 2024
1 parent 4cc8a95 commit e827759
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -228,9 +228,6 @@ - (LPLinkMetadata *)activityViewControllerLinkMetadata:
// https://stackoverflow.com/questions/60563773/ios-13-share-sheet-changing-subtitle-item-description
metadata.originalURL = [NSURL fileURLWithPath:description];
if (_mimeType && [_mimeType hasPrefix:@"image/"]) {

// On iPhone 13, when sharing an image and the image is very large,
// the sharing box may occasionally fail to be awakened
UIImage *image = [UIImage imageWithContentsOfFile:_path];
metadata.imageProvider = [[NSItemProvider alloc]
initWithObject:[self imageWithImage:image
Expand Down

0 comments on commit e827759

Please sign in to comment.