diff options
author | marinofaggiana <marino@marinofaggiana.com> | 2021-01-21 14:26:53 +0300 |
---|---|---|
committer | marinofaggiana <marino@marinofaggiana.com> | 2021-01-21 14:26:53 +0300 |
commit | 5a9d079bc6896b494728b4af0dbb751e4a3cc0a3 (patch) | |
tree | 0f8f2f2a58aed96345973533bf90dc008e589d08 /iOSClient/Security/NCEndToEndMetadata.swift | |
parent | af05dcd19daed31e19cbaf9ad08d9bf45348b954 (diff) |
normalized code
Diffstat (limited to 'iOSClient/Security/NCEndToEndMetadata.swift')
-rw-r--r-- | iOSClient/Security/NCEndToEndMetadata.swift | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/iOSClient/Security/NCEndToEndMetadata.swift b/iOSClient/Security/NCEndToEndMetadata.swift index b3423826a..353bede27 100644 --- a/iOSClient/Security/NCEndToEndMetadata.swift +++ b/iOSClient/Security/NCEndToEndMetadata.swift @@ -218,9 +218,9 @@ class NCEndToEndMetadata : NSObject { // Update metadata on tableMetadata metadata.fileNameView = encryptedFileAttributes.filename - let results = NCCommunicationCommon.shared.getInternalContenType(fileName: encryptedFileAttributes.filename, contentType: metadata.contentType, directory: metadata.directory) + let results = NCCommunicationCommon.shared.getInternalType(fileName: encryptedFileAttributes.filename, mimeType: metadata.contentType, directory: metadata.directory) - metadata.contentType = results.contentType + metadata.contentType = results.mimeType metadata.iconName = results.iconName metadata.typeFile = results.typeFile |