|
@@ -592,7 +592,7 @@ typealias KMMainDocumentCloudUploadHanddler = (@escaping(Bool, String)->()) -> (
|
|
|
|
|
|
let dic = notification.object as? NSDictionary
|
|
|
if dic?["object"] is CPDFAnnotation {
|
|
|
- let annotation : CPDFAnnotation = dic?["object"] as? CPDFAnnotation ?? CPDFAnnotation()
|
|
|
+ guard let annotation = dic?["object"] as? CPDFAnnotation else { return }
|
|
|
document = annotation.page.document
|
|
|
|
|
|
} else if dic?["object"] is CPDFListView {
|