From 8144cf8d37b6c4311e8ce3245dac8efaeea74ea5 Mon Sep 17 00:00:00 2001 From: Satindar Dhillon Date: Thu, 29 Sep 2022 20:45:19 -0700 Subject: [PATCH] disable pspdfkit feature that asks for author name for annotations --- apple/OmnivoreKit/Sources/App/PDFSupport/PDFViewer.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/apple/OmnivoreKit/Sources/App/PDFSupport/PDFViewer.swift b/apple/OmnivoreKit/Sources/App/PDFSupport/PDFViewer.swift index 1316f4dce..923229a92 100644 --- a/apple/OmnivoreKit/Sources/App/PDFSupport/PDFViewer.swift +++ b/apple/OmnivoreKit/Sources/App/PDFSupport/PDFViewer.swift @@ -39,6 +39,7 @@ import Utils .useParentNavigationBar(true) .updateConfiguration { builder in builder.textSelectionShouldSnapToWord = true + builder.shouldAskForAnnotationUsername = false } .updateControllerConfiguration { controller in // Store config state so we only run this update closure once