Kaynağa Gözat

【左边栏】- 移除缩略图的分享功能

liaoxiaoyue 1 yıl önce
ebeveyn
işleme
f1b4b31437

+ 3 - 3
PDF Office/PDF Office/Class/PDFWindowController/Side/LeftSide/Thumbnail/KMThumbnailViewController.swift

@@ -674,10 +674,10 @@ extension KMThumbnailViewController : NSMenuDelegate,NSMenuItemValidation {
         item = menu.addItem(withTitle: NSLocalizedString("Print", comment: ""), action: #selector(printItemAction), target: self)
         item.representedObject = row
         
-        item = menu.addItem(withTitle: NSLocalizedString("Share", comment: ""), action: nil, target: self)
-        item.representedObject = row
+//        item = menu.addItem(withTitle: NSLocalizedString("Share", comment: ""), action: nil, target: self)
+//        item.representedObject = row
         
-        item.submenu = NSSharingServicePicker.menu(forSharingItems: [self.listView.document.documentURL ?? ""], subjectContext: "", withTarget: self, selector: #selector(sharePageItemAction), serviceDelegate: nil)
+//        item.submenu = NSSharingServicePicker.menu(forSharingItems: [self.listView.document.documentURL ?? ""], subjectContext: "", withTarget: self, selector: #selector(sharePageItemAction), serviceDelegate: nil)
         
     }
 }