From f04ddb40e112fd4faff57e32fd69a8bf65ea53de Mon Sep 17 00:00:00 2001 From: Crondung <1922635@stud.hs-mannheim.de> Date: Mon, 6 Mar 2023 18:13:34 +0100 Subject: [PATCH] display days correct --- lib/utils/timer_util.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils/timer_util.dart b/lib/utils/timer_util.dart index 57b9f9c..554173a 100644 --- a/lib/utils/timer_util.dart +++ b/lib/utils/timer_util.dart @@ -9,7 +9,7 @@ String formatTime(int seconds) { String minutes = twoDigits(duration.inMinutes.remainder(60)); String formattedSeconds = twoDigits(duration.inSeconds.remainder(60)); if (duration.inDays != 0) { - formattedTime += '$days Tag ${duration.inDays > 1 ? "e" : ""}, '; + formattedTime += '$days Tag${duration.inDays > 1 ? "e" : ""}, '; } if (duration.inHours != 0) formattedTime += '$hours:'; formattedTime += '$minutes:';