marinofaggiana před 3 roky
rodič
revize
4bf1ac5c44

+ 1 - 1
iOSClient/Main/NCFunctionCenter.swift

@@ -772,7 +772,7 @@ import Queuer
             children.insert(viewInFolder, at: children.count-1)
         }
         
-        if !isFolderEncrypted && (metadata.contentType == "com.adobe.pdf" || metadata.contentType == "application/pdf" || metadata.typeFile == NCGlobal.shared.metadataTypeFileImage || metadata.typeFile == NCGlobal.shared.metadataTypeFileVideo) {
+        if !isFolderEncrypted && (metadata.contentType == "com.adobe.pdf" || metadata.contentType == "application/pdf" || metadata.typeFile == NCGlobal.shared.metadataTypeFileImage) {
             children.insert(markup, at: children.count-1)
         }
         

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

@@ -326,7 +326,7 @@ extension NCCollectionViewCommon {
         //
         // MARKUP
         //
-        if !isFolderEncrypted && (metadata.contentType == "com.adobe.pdf" || metadata.contentType == "application/pdf" || metadata.typeFile == NCGlobal.shared.metadataTypeFileImage || metadata.typeFile == NCGlobal.shared.metadataTypeFileVideo) {
+        if !isFolderEncrypted && (metadata.contentType == "com.adobe.pdf" || metadata.contentType == "application/pdf" || metadata.typeFile == NCGlobal.shared.metadataTypeFileImage) {
             actions.append(
                 NCMenuAction(
                     title: NSLocalizedString("_markup_", comment: ""),

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

@@ -279,7 +279,7 @@ extension NCViewer {
         //
         // MARKUP
         //
-        if !isFolderEncrypted && (metadata.contentType == "com.adobe.pdf" || metadata.contentType == "application/pdf" || metadata.typeFile == NCGlobal.shared.metadataTypeFileImage || metadata.typeFile == NCGlobal.shared.metadataTypeFileVideo) {
+        if !isFolderEncrypted && (metadata.contentType == "com.adobe.pdf" || metadata.contentType == "application/pdf" || metadata.typeFile == NCGlobal.shared.metadataTypeFileImage) {
             actions.append(
                 NCMenuAction(
                     title: NSLocalizedString("_markup_", comment: ""),