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

+ 1 - 1
iOSClient/Recent/NCRecent.swift

@@ -53,7 +53,7 @@ class NCRecent: NCCollectionViewCommon  {
         DispatchQueue.global().async {
             
             self.metadatasSource = NCManageDatabase.shared.getAdvancedMetadatas(predicate: NSPredicate(format: "account == %@", self.appDelegate.account), page: 1, limit: 100, sorted: "date", ascending: false)
-            self.dataSource = NCDataSource.init(metadatasSource: self.metadatasSource, favoriteOnTop: false)
+            self.dataSource = NCDataSource.init(metadatasSource: self.metadatasSource, directoryOnTop: false, favoriteOnTop: false)
             
             DispatchQueue.main.async {
                 self.refreshControl.endRefreshing()