marinofaggiana 4 năm trước cách đây
mục cha
commit
749d73e867
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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: ""),