mirror of
https://github.com/status-im/react-native-cameraroll.git
synced 2025-01-12 10:54:18 +00:00
fix(lib): typo in PHFetchOptions (#78)
This commit is contained in:
parent
fcc2e10d0e
commit
75e325dcfe
@ -235,7 +235,7 @@ RCT_EXPORT_METHOD(getPhotos:(NSDictionary *)params
|
||||
PHAssetCollectionSubtype const collectionSubtype = [RCTConvert PHAssetCollectionSubtype:groupTypes];
|
||||
|
||||
// Predicate for fetching assets within a collection
|
||||
PHFetchOptions *const assetFetchOptions = [RCTConvert PHFetcihOptionsFromMediaType:mediaType];
|
||||
PHFetchOptions *const assetFetchOptions = [RCTConvert PHFetchOptionsFromMediaType:mediaType];
|
||||
assetFetchOptions.sortDescriptors = @[[NSSortDescriptor sortDescriptorWithKey:@"creationDate" ascending:NO]];
|
||||
|
||||
BOOL __block foundAfter = NO;
|
||||
|
Loading…
x
Reference in New Issue
Block a user