This commit is contained in:
55nknown 2022-11-16 07:42:02 +01:00
parent 26f65a4144
commit 4b40692fe1

View File

@ -140,7 +140,7 @@ class LiveCardProvider extends ChangeNotifier {
// Filter cancelled lessons #20
// Filter label lessons #128
today = today.where((lesson) => lesson.status?.name != "Elmaradt" && !(lesson.subject.id != '' || lesson.isEmpty)).toList();
today = today.where((lesson) => lesson.status?.name != "Elmaradt" && lesson.subject.id != '' && !lesson.isEmpty).toList();
if (today.isNotEmpty) {
// sort