We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d7c1af4 + 270b908 commit 1ff0220Copy full SHA for 1ff0220
ios/RCTPSPDFKit/Converters/RCTConvert+PSPDFAnnotation.m
@@ -23,8 +23,8 @@ @implementation RCTConvert (PSPDFAnnotation)
23
[annotationsJSON addObject:annotationDictionary];
24
}
25
} else {
26
- // We only generate Instant JSON data for attached annotations. When an annotation is deleted, we only set the annotation uuid.
27
- [annotationsJSON addObject:uuidDict];
+ // We only generate Instant JSON data for attached annotations. When an annotation is deleted, we only set the annotation uuid and name.
+ [annotationsJSON addObject:@{@"uuid" : annotation.uuid, @"name" : annotation.name ?: [NSNull null]}];
28
29
30
0 commit comments