From a11fe63983a30a3e391316367dba0a602f9dbdad Mon Sep 17 00:00:00 2001 From: Vishesh Handa Date: Tue, 10 Nov 2020 18:37:43 +0100 Subject: [PATCH] Report Bug: Attach logs from the last 2 days --- lib/utils/logger.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils/logger.dart b/lib/utils/logger.dart index a283b282..a645870d 100644 --- a/lib/utils/logger.dart +++ b/lib/utils/logger.dart @@ -153,7 +153,7 @@ class Log { var today = DateTime.now(); var l = []; for (var i = 0; i < n; i++) { - var fp = filePathForDate(today.add(i.days)); + var fp = filePathForDate(today.subtract(i.days)); if (File(fp).existsSync()) { l.add(fp); } else {