Fix comment replacement, remove debug

This commit is contained in:
Jackson Harper
2022-11-28 15:06:02 +08:00
parent ef8e78380b
commit d2ad0d63ae

View File

@ -85,11 +85,10 @@ import Utils
builder.shouldAskForAnnotationUsername = false
}
.updateControllerConfiguration { controller in
// Store config state so we only run this update closure once
saveSettings(configuration: controller.configuration)
// Store config state so we only run this update closure once
guard pdfStateObject.controllerNeedsConfig else { return }
print("document is valid", document.isValid)
coordinator.setController(controller: controller, dataService: dataService)
// Disable the Document Editor