Skip to content

Commit

Permalink
fix(lib): typo in PHFetchOptions (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
bartolkaruza committed Aug 14, 2019
1 parent fcc2e10 commit 75e325d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/RNCCameraRollManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ static void RCTResolvePromise(RCTPromiseResolveBlock resolve,
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;
Expand Down

0 comments on commit 75e325d

Please sign in to comment.