marinofaggiana 6 年之前
父節點
當前提交
2d53549207
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      iOSClient/Media/NCMedia.swift

+ 2 - 2
iOSClient/Media/NCMedia.swift

@@ -54,7 +54,7 @@ class NCMedia: UIViewController ,UICollectionViewDataSource, UICollectionViewDel
     
     private var readRetry = 0
     private var stepDays = -60
-
+    
     var loadingSearch = false
 
     private let refreshControl = UIRefreshControl()
@@ -513,7 +513,7 @@ class NCMedia: UIViewController ,UICollectionViewDataSource, UICollectionViewDel
 
         var dateSection = sectionDatasource.sections.object(at: section) as! Date
         dateSection = Calendar.current.date(byAdding: .day, value: -1, to: dateSection)!
-        print(dateSection)
+        
         if let lastDate = NCManageDatabase.sharedInstance.getTablePhotoLastDate(account: appDelegate.activeAccount) as Date? {
             if lastDate > dateSection {
                 let gteDate = Calendar.current.date(byAdding: .day, value: self.stepDays, to: lastDate)!