Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions ActivityView.m
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,8 @@ - (void) showWithOptions:(NSDictionary *)args image:(UIImage *)image
}

if (file) {
[shareObject addObject:file];
NSURL *localFile = [NSURL fileURLWithPath:file];
[shareObject addObject:localFile];
}


Expand Down Expand Up @@ -153,7 +154,7 @@ - (void) showWithOptions:(NSDictionary *)args image:(UIImage *)image
activityView.popoverPresentationController.permittedArrowDirections = 0;
}
}
[ctrl.presentedViewController presentViewController:activityView animated:YES completion:nil];
[ctrl presentViewController:activityView animated:YES completion:nil];
}

@end