File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
ios/RCTPSPDFKit/Converters Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ @implementation RCTConvert (PSPDFAnnotation)
1414+ (NSArray <NSDictionary *> *)instantJSONFromAnnotations : (NSArray <PSPDFAnnotation *> *) annotations {
1515 NSMutableArray <NSDictionary *> *annotationsJSON = [NSMutableArray new ];
1616 for (PSPDFAnnotation *annotation in annotations) {
17- NSDictionary <NSString *, NSString *> *uuidDict = @{@" uuid" : [ annotation valueForKey: @" uuid" ] };
17+ NSDictionary <NSString *, NSString *> *uuidDict = @{@" uuid" : annotation. uuid };
1818 NSData *annotationData = [annotation generateInstantJSONWithError: NULL ];
1919 if (annotationData) {
2020 NSMutableDictionary *annotationDictionary = [[NSJSONSerialization JSONObjectWithData: annotationData options: kNilOptions error: NULL ] mutableCopy ];
You can’t perform that action at this time.
0 commit comments