marinofaggiana 4 years ago
parent
commit
749d73e867
1 changed files with 1 additions and 1 deletions
  1. 1 1
      iOSClient/Menu/NCViewer+Menu.swift

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

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