소스 검색

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 {