Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
marinofaggiana committed Mar 25, 2020
1 parent a992bf8 commit 5e1b30a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iOSClient/Main/CCMain.m
Original file line number Diff line number Diff line change
Expand Up @@ -1130,7 +1130,7 @@ - (void)uploadFileAsset:(NSArray *)assets urls:(NSArray *)urls serverUrl:(NSStri
(void)[[NCManageDatabase sharedInstance] addMetadata:metadataForUpload];

// Add Medtadata MOV LIVE PHOTO for upload
if (asset.mediaSubtypes == PHAssetMediaSubtypePhotoLive && CCUtility.getMOVLivePhoto && urls.count == assets.count) {
if ((asset.mediaSubtypes == PHAssetMediaSubtypePhotoLive || asset.mediaSubtypes == PHAssetMediaSubtypePhotoLive+PHAssetMediaSubtypePhotoHDR) && CCUtility.getMOVLivePhoto && urls.count == assets.count) {

NSUInteger index = [assets indexOfObject:asset];
NSURL *url = [urls objectAtIndex:index];
Expand Down

0 comments on commit 5e1b30a

Please sign in to comment.