Skip to content

Commit

Permalink
Optimize
Browse files Browse the repository at this point in the history
  • Loading branch information
ibrkhalil committed Oct 7, 2023
1 parent 14007e5 commit 97bc8f4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ios/RNCCameraRollManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -444,8 +444,7 @@ static void RCTResolvePromise(RCTPromiseResolveBlock resolve,
];
}

RCT_EXPORT_METHOD(getPhotosCountiOS:(NSArray<NSString *>*)assets
resolve:(RCTPromiseResolveBlock)resolve
RCT_EXPORT_METHOD(getPhotosCountiOS:(RCTPromiseResolveBlock)resolve
reject:(RCTPromiseRejectBlock)reject)
{
PHFetchResult *allPhotosResult = [PHAsset fetchAssetsWithMediaType:PHAssetMediaTypeImage options:nil];
Expand Down

0 comments on commit 97bc8f4

Please sign in to comment.