Skip to content

Commit a1c1599

Browse files
stevikiradazzouz
andauthored
Update ios/RCTPSPDFKit/RCTPSPDFKitView.m
Co-Authored-By: radazzouz <[email protected]>
1 parent 4a06d21 commit a1c1599

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
@@ -299,7 +299,7 @@ - (void)setFormFieldValue:(NSString *)value fullyQualifiedName:(NSString *)fully
299299
}
300300

301301
PSPDFDocument *document = self.pdfController.document;
302-
if (![document isValid]) {
302+
if (!document.isValid) {
303303
NSLog(@"Document is invalid.");
304304
return;
305305
}

0 commit comments

Comments
 (0)