marinofaggiana 4 年之前
父节点
当前提交
749d73e867
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      iOSClient/Menu/NCViewer+Menu.swift

+ 1 - 1
iOSClient/Menu/NCViewer+Menu.swift

@@ -121,7 +121,7 @@ extension NCViewer {
         //
         // PRINT
         //
-        if metadata.typeFile == NCGlobal.shared.metadataTypeFileImage {
+        if metadata.typeFile == NCGlobal.shared.metadataTypeFileImage || metadata.contentType == "application/pdf" {
             actions.append(
                 NCMenuAction(
                     title: NSLocalizedString("_print_", comment: ""),