瀏覽代碼

Update NCShareCells.swift

Marino Faggiana 1 年之前
父節點
當前提交
0a802cf73c
共有 1 個文件被更改,包括 1 次插入2 次删除
  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 {