Signed-off-by: marinofaggiana <ios@nextcloud.com>
@@ -350,7 +350,7 @@ extension NCCollectionViewCommon {
//
// UNSET FOLDER E2EE
- if metadata.e2eEncrypted && metadata.directory && CCUtility.isEnd(toEndEnabled: appDelegate.account) && metadata.serverUrl == serverUrlHome {
+ if metadata.e2eEncrypted && metadata.directory && CCUtility.isEnd(toEndEnabled: appDelegate.account) && metadata.serverUrl == serverUrlHome && metadata.size == 0 {
actions.append(
NCMenuAction(
title: NSLocalizedString("_e2e_remove_folder_encrypted_", comment: ""),