mirror of
https://github.com/status-im/react-native-cameraroll.git
synced 2025-01-13 11:24:36 +00:00
[FIX][iOS] All mediaTypes return order
This fixes the wrong return order when you fetch photos/videos (all)
This commit is contained in:
parent
132af3166d
commit
c66cc4fb49
@ -61,7 +61,8 @@ RCT_ENUM_CONVERTER(PHAssetCollectionSubtype, (@{
|
|||||||
"'videos' or 'all'.", mediaType);
|
"'videos' or 'all'.", mediaType);
|
||||||
}
|
}
|
||||||
// This case includes the "all" mediatype
|
// This case includes the "all" mediatype
|
||||||
return nil;
|
PHFetchOptions *const options = [PHFetchOptions new];
|
||||||
|
return options;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user