marinofaggiana 4 years ago
parent
commit
15c8287a00

+ 1 - 1
Cartfile.resolved

@@ -16,7 +16,7 @@ github "krzyzanowskim/OpenSSL" "1.0.218"
 github "malcommac/SwiftRichString" "3.7.1"
 github "marinofaggiana/AFNetworking" "2967678c3e0e98c9b8d7e06222ad12d1f49c26f2"
 github "marinofaggiana/KTVHTTPCache" "2.0.2"
-github "nextcloud/ios-communication-library" "2c670fe1d7b3c2500dcd3de880f24c18ca936624"
+github "nextcloud/ios-communication-library" "458422bfda44fc398eed25369269aa250b1375e7"
 github "realm/realm-cocoa" "v4.4.1"
 github "rechsteiner/Parchment" "v1.7.0"
 github "scenee/FloatingPanel" "v1.7.4"

+ 1 - 1
File Provider Extension/FileProviderItem.swift

@@ -47,7 +47,7 @@ class FileProviderItem: NSObject, NSFileProviderItem {
         metadata.iconName = results.iconName
         metadata.typeFile = results.typeFile
         
-        return results.contentType
+        return results.typeIdentifier
     }
     
     var contentModificationDate: Date? {

+ 2 - 1
iOSClient/Networking/CCNetworking.m

@@ -598,7 +598,8 @@
         
     } else {
         
-        tableMetadata *metadataForUpload = [[NCManageDatabase sharedInstance] addMetadata:[CCUtility insertFileSystemInMetadata:metadata]];        
+        tableMetadata *metadataForUpload = [[NCManageDatabase sharedInstance] addMetadata:[CCUtility insertFileSystemInMetadata:metadata]];
+        
         if ([CCUtility isFolderEncrypted:metadataForUpload.serverUrl e2eEncrypted:metadataForUpload.e2eEncrypted account:metadataForUpload.account] && [CCUtility isEndToEndEnabled:metadataForUpload.account]) {
             [self e2eEncryptedFile:metadataForUpload taskStatus:taskStatus];
         } else {