|
@@ -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 {
|