From 98d15d701194da66e4b55f57afc9fe02ed9f1dae Mon Sep 17 00:00:00 2001 From: Marino Faggiana Date: Wed, 5 Jun 2024 11:50:34 +0200 Subject: [PATCH] cleaning Signed-off-by: Marino Faggiana --- iOSClient/Main/Collection Common/NCCollectionViewCommon.swift | 2 -- iOSClient/Utility/NCUtilityFileSystem.swift | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/iOSClient/Main/Collection Common/NCCollectionViewCommon.swift b/iOSClient/Main/Collection Common/NCCollectionViewCommon.swift index a7d940fdf8..21bb5eab4e 100644 --- a/iOSClient/Main/Collection Common/NCCollectionViewCommon.swift +++ b/iOSClient/Main/Collection Common/NCCollectionViewCommon.swift @@ -1364,9 +1364,7 @@ extension NCCollectionViewCommon: UICollectionViewDataSource { } if metadata.directory { - let tableDirectory = NCManageDatabase.shared.getTableDirectory(ocId: metadata.ocId) - if metadata.e2eEncrypted { cell.filePreviewImageView?.image = NCImageCache.images.folderEncrypted } else if isShare { diff --git a/iOSClient/Utility/NCUtilityFileSystem.swift b/iOSClient/Utility/NCUtilityFileSystem.swift index 8ad3b0f2b7..833028d61d 100644 --- a/iOSClient/Utility/NCUtilityFileSystem.swift +++ b/iOSClient/Utility/NCUtilityFileSystem.swift @@ -153,7 +153,7 @@ class NCUtilityFileSystem: NSObject { } else { return false } - } catch { print("Error: \(error)") } + } catch { } return false }