Merge pull request #28 from GenomeUS/fix-all-mediatypes-order

[FIX][iOS] All mediaTypes return order
This commit is contained in:
Bartol Karuza 2019-04-06 11:37:54 +02:00 committed by GitHub
commit 6749ff933c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -61,7 +61,8 @@ RCT_ENUM_CONVERTER(PHAssetCollectionSubtype, (@{
"'videos' or 'all'.", mediaType);
}
// This case includes the "all" mediatype
return nil;
PHFetchOptions *const options = [PHFetchOptions new];
return options;
}
}