Explorar el Código

#2073

Signed-off-by: marinofaggiana <ios@nextcloud.com>
marinofaggiana hace 3 años
padre
commit
3ab50d5094
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      iOSClient/Menu/NCCollectionViewCommon+Menu.swift

+ 1 - 1
iOSClient/Menu/NCCollectionViewCommon+Menu.swift

@@ -325,7 +325,7 @@ extension NCCollectionViewCommon {
         //
         // SET 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_set_folder_encrypted_", comment: ""),