From 2e425dd757f3fa493fa9ca31f7dd3fe3a254838c Mon Sep 17 00:00:00 2001 From: Armand <4831c0@proton.me> Date: Sat, 13 Sep 2025 14:07:25 +0200 Subject: [PATCH] tt: show breaks after last lesson is over --- firka/lib/ui/phone/widgets/lesson.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/firka/lib/ui/phone/widgets/lesson.dart b/firka/lib/ui/phone/widgets/lesson.dart index 91ba14bd..5295efbc 100644 --- a/firka/lib/ui/phone/widgets/lesson.dart +++ b/firka/lib/ui/phone/widgets/lesson.dart @@ -40,6 +40,7 @@ class LessonWidget extends StatelessWidget { final showBreak = timeNow().isAfter(lesson.start) && timeNow().isBefore(lesson.end) || + timeNow().isAfter(week.last.end) || lesson.start.getMidnight() != timeNow().getMidnight(); var accent = appStyle.colors.accent;