👏🏿 👏🏿 👏🏿

This commit is contained in:
55nknown 2022-10-03 11:24:25 +02:00
parent ea33d00f54
commit 4af3e51300
4 changed files with 5 additions and 5 deletions

View File

@ -153,8 +153,8 @@ class LiveCardProvider extends ChangeNotifier {
currentLesson = null; currentLesson = null;
} }
final _next = today.firstWhere((l) => l.start.isAfter(_now()), orElse: () => Lesson.fromJson({})); final _next = today.firstWhere((l) => l.start.isAfter(now), orElse: () => Lesson.fromJson({}));
nextLessons = today.where((l) => l.start.isAfter(_now())).toList(); nextLessons = today.where((l) => l.start.isAfter(now)).toList();
if (_next.start.year != 0) { if (_next.start.year != 0) {
nextLesson = _next; nextLesson = _next;

@ -1 +1 @@
Subproject commit 56ad3bfbf2e7281a3a02a6f1032070dffb7b8c6c Subproject commit 71a2179ae20d8fac85b3ed2131d794b8cbe446fb

@ -1 +1 @@
Subproject commit c453fca659c8bd200cd563a5fac4d5eaa6ed34ea Subproject commit 824b1ff08fab3ee566dee9ed7409387cf6ce331d

@ -1 +1 @@
Subproject commit 9a396a08423f4a2e2008dcedeff90db18999cfcf Subproject commit b228753cfa4a772900b850d5da7434001bb8556e