Browse Source

Update NCShareCells.swift

Marino Faggiana 1 year ago
parent
commit
0a802cf73c
1 changed files with 1 additions and 2 deletions
  1. 1 2
      iOSClient/Share/Advanced/NCShareCells.swift

+ 1 - 2
iOSClient/Share/Advanced/NCShareCells.swift

@@ -73,7 +73,6 @@ enum NCUserPermission: CaseIterable, NCPermission {
     }
 
     func didChange(_ share: NCTableShareable, to newValue: Bool) {
-        // ATTRIBUTES
         if self == .download {
             share.attributes = NCManageDatabase.shared.setAttibuteDownload(state: newValue)
         } else {
@@ -120,7 +119,7 @@ enum NCLinkPermission: NCPermission {
     }
 
     func hasDownload() -> Bool {
-        return true
+        return false
     }
 
     var permissionValue: Int {