Media Picker: code cleaning

This commit is contained in:
giomfo 2016-03-01 10:38:56 +01:00
parent a6c220ad3f
commit c55221853e

View file

@ -193,7 +193,8 @@
{
[self dismissMediaPicker];
[self sendSelectedVideo:videoURL isPhotoLibraryAsset:YES];
BOOL isPhotoLibraryAsset = ![videoURL.path hasPrefix:NSTemporaryDirectory()];
[self sendSelectedVideo:videoURL isPhotoLibraryAsset:isPhotoLibraryAsset];
}
#pragma mark - Media picker handling