Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/ios.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/Share
diff options
context:
space:
mode:
authormarinofaggiana <ios@nextcloud.com>2022-07-14 18:50:29 +0300
committermarinofaggiana <ios@nextcloud.com>2022-07-14 18:50:29 +0300
commit82c123a659cf60856ce6287366cd663a85c609cc (patch)
treebe794aa1e43301b25145bfee3858ca190c07f4d0 /Share
parent887407b99c94e1a956962ebf6299cf3f90ffa949 (diff)
coding
Signed-off-by: marinofaggiana <ios@nextcloud.com>
Diffstat (limited to 'Share')
-rw-r--r--Share/NCShareExtension.swift4
1 files changed, 0 insertions, 4 deletions
diff --git a/Share/NCShareExtension.swift b/Share/NCShareExtension.swift
index 33f1d7d24..4242a78c3 100644
--- a/Share/NCShareExtension.swift
+++ b/Share/NCShareExtension.swift
@@ -339,14 +339,10 @@ extension NCShareExtension {
guard uploadStarted else { return }
guard uploadMetadata.count > counterUploaded else { return finishedUploading() }
let metadata = uploadMetadata[counterUploaded]
- //let filePath = CCUtility.getDirectoryProviderStorageOcId(metadata.ocId, fileNameView: metadata.fileName)!
- //metadata.size = NCUtilityFileSystem.shared.getFileSize(filePath: filePath)
let results = NCCommunicationCommon.shared.getInternalType(fileName: metadata.fileNameView, mimeType: metadata.contentType, directory: false)
metadata.contentType = results.mimeType
metadata.iconName = results.iconName
metadata.classFile = results.classFile
- //if let date = NCUtilityFileSystem.shared.getFileCreationDate(filePath: filePath) { metadata.creationDate = date }
- //if let date = NCUtilityFileSystem.shared.getFileModificationDate(filePath: filePath) { metadata.date = date }
// E2EE
metadata.e2eEncrypted = CCUtility.isFolderEncrypted(metadata.serverUrl, e2eEncrypted: metadata.e2eEncrypted, account: metadata.account, urlBase: metadata.urlBase)
// CHUNCK