Skip to content

Commit dc2294e

Browse files
author
RadAzzouz
committed
Fix outdated comment
1 parent e6b1c3e commit dc2294e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ios/RCTPSPDFKit/RCTPSPDFKitView.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ - (BOOL)removeAnnotationWithUUID:(NSString *)annotationUUID {
220220

221221
NSArray<PSPDFAnnotation *> *allAnnotations = [[document allAnnotationsOfType:PSPDFAnnotationTypeAll].allValues valueForKeyPath:@"@unionOfArrays.self"];
222222
for (PSPDFAnnotation *annotation in allAnnotations) {
223-
// Remove the annotation if the name matches.
223+
// Remove the annotation if the uuids match.
224224
if ([annotation.uuid isEqualToString:annotationUUID]) {
225225
success = [document removeAnnotations:@[annotation] options:nil];
226226
break;

0 commit comments

Comments
 (0)