👏🏿 👏🏿 👏🏿
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Submodule filcnaplo_desktop_ui updated: 56ad3bfbf2...71a2179ae2
Submodule filcnaplo_kreta_api updated: c453fca659...824b1ff08f
Submodule filcnaplo_mobile_ui updated: 9a396a0842...b228753cfa
Reference in New Issue
Block a user