[FIX][iOS] All mediaTypes return order

This fixes the wrong return order when you fetch photos/videos (all)
This commit is contained in:
José Ignacio Guerrero VInueza 2019-04-04 12:12:00 -05:00
parent 132af3166d
commit c66cc4fb49
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;
}
}