diff --git a/firka/lib/ui/phone/pages/home/home_timetable.dart b/firka/lib/ui/phone/pages/home/home_timetable.dart index 2e8231a..7206297 100644 --- a/firka/lib/ui/phone/pages/home/home_timetable.dart +++ b/firka/lib/ui/phone/pages/home/home_timetable.dart @@ -118,7 +118,12 @@ class _HomeTimetableScreen extends State { setState(() { this.dates = dates; - setActiveToToday(); + if (now.getMonday().getMidnight().millisecondsSinceEpoch == + timeNow().getMonday().getMidnight().millisecondsSinceEpoch) { + setActiveToToday(); + } else { + active = 0; + } }); }