mirror of
https://github.com/status-im/react-native-camera-roll.git
synced 2026-08-30 21:01:10 +00:00
fix(lib): typo in PHFetchOptions (#78)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user