瀏覽代碼

clear code

Signed-off-by: Marino Faggiana <marino@marinofaggiana.com>
Marino Faggiana 2 年之前
父節點
當前提交
12960eaf7c
共有 1 個文件被更改,包括 0 次插入4 次删除
  1. 0 4
      iOSClient/Select/NCSelect.swift

+ 0 - 4
iOSClient/Select/NCSelect.swift

@@ -80,8 +80,6 @@ class NCSelect: UIViewController, UIGestureRecognizerDelegate, UIAdaptivePresent
     private var listLayout: NCListLayout!
     private var listLayout: NCListLayout!
     private var gridLayout: NCGridLayout!
     private var gridLayout: NCGridLayout!
 
 
-    private var shares: [tableShare]?
-
     private var backgroundImageView = UIImageView()
     private var backgroundImageView = UIImageView()
 
 
     private var activeAccount: tableAccount!
     private var activeAccount: tableAccount!
@@ -185,8 +183,6 @@ class NCSelect: UIViewController, UIGestureRecognizerDelegate, UIAdaptivePresent
         }
         }
 
 
         loadDatasource(withLoadFolder: true)
         loadDatasource(withLoadFolder: true)
-
-        shares = NCManageDatabase.shared.getTableShares(account: activeAccount.account, serverUrl: serverUrl)
     }
     }
 
 
     override func viewWillTransition(to size: CGSize, with coordinator: UIViewControllerTransitionCoordinator) {
     override func viewWillTransition(to size: CGSize, with coordinator: UIViewControllerTransitionCoordinator) {