marinofaggiana 4 years ago
parent
commit
b73c2a2898
4 changed files with 4 additions and 4 deletions
  1. 1 1
      Cartfile
  2. 1 1
      Cartfile.resolved
  3. 1 1
      iOSClient/Data/NCDataSource.swift
  4. 1 1
      iOSClient/Recent/NCRecent.swift

+ 1 - 1
Cartfile

@@ -11,7 +11,7 @@ github "weichsel/ZIPFoundation" "0.9.10"
 github "rechsteiner/Parchment" "v2.4.0"
 github "WenchaoD/FSCalendar" "2.8.0"
 github "huri000/SwiftEntryKit" "1.2.3"
-github "scenee/FloatingPanel" "v1.7.5"
+github "scenee/FloatingPanel" "v1.7.6"
 github "ivanbruel/MarkdownKit"
 github "getsentry/sentry-cocoa"
 github "FabrizioBrancati/Queuer"

+ 1 - 1
Cartfile.resolved

@@ -19,7 +19,7 @@ github "marinofaggiana/OpenSSL" "6c7cf839d9c74e5a0b92bbf343e1a33b6f56a277"
 github "marinofaggiana/TOPasscodeViewController" "0.0.7"
 github "nextcloud/ios-communication-library" "d989d29df18302b0e6824994188c7e232b8ed51e"
 github "rechsteiner/Parchment" "v2.4.0"
-github "scenee/FloatingPanel" "v1.7.5"
+github "scenee/FloatingPanel" "v1.7.6"
 github "tilltue/TLPhotoPicker" "2.0.12"
 github "weichsel/ZIPFoundation" "0.9.10"
 github "xmartlabs/XLForm" "4.1.0"

+ 1 - 1
iOSClient/Data/NCDataSource.swift

@@ -39,7 +39,7 @@ class NCDataSource: NSObject {
         super.init()
     }
     
-    init(metadatasSource: [tableMetadata], sort: String = "none", ascending: Bool = false, directoryOnTop: Bool = false, favoriteOnTop: Bool = false, filterLivePhoto: Bool = false) {
+    init(metadatasSource: [tableMetadata], sort: String = "", ascending: Bool = false, directoryOnTop: Bool = false, favoriteOnTop: Bool = false, filterLivePhoto: Bool = false) {
         super.init()
         
         self.sort = sort

+ 1 - 1
iOSClient/Recent/NCRecent.swift

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