marinofaggiana 4 年之前
父節點
當前提交
a5de98aaed
共有 1 個文件被更改,包括 1 次插入3 次删除
  1. 1 3
      iOSClient/Activity/NCActivity.swift

+ 1 - 3
iOSClient/Activity/NCActivity.swift

@@ -166,9 +166,7 @@ extension NCActivity: UITableViewDelegate {
 extension NCActivity: UITableViewDataSource {
     
     func numberOfSections(in tableView: UITableView) -> Int {
-        let sections = sectionDate.count
-        emptyDataSet?.numberOfSections(sections)
-        return sections
+        return sectionDate.count
     }
     
     func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {