marinofaggiana 6 жил өмнө
parent
commit
8a578812ba

+ 2 - 0
iOSClient/Media/NCMedia.swift

@@ -510,9 +510,11 @@ extension NCMedia {
     func search(lteDate: Date, gteDate: Date, addPast: Bool, setDistantPast: Bool) {
         
         // ----- DEBUG -----
+#if DEBUG
         let dateFormatter = DateFormatter()
         dateFormatter.dateFormat = "dd-MM-yyyy HH:mm"
         print("[LOG] Search: addPast \(addPast), distantPass: \(setDistantPast), Lte: " + dateFormatter.string(from: lteDate) + " - Gte: " + dateFormatter.string(from: gteDate))
+#endif
         // -----------------
         
         if appDelegate.activeAccount.count == 0 {