fixed warnings

This commit is contained in:
Kima
2023-08-29 11:16:17 +02:00
parent 8bfbaee1f5
commit b4be0f66dc
7 changed files with 38 additions and 24 deletions

View File

@@ -22,7 +22,7 @@ class LessonView extends StatelessWidget {
if (RegExp(r'\d').hasMatch(lesson.lessonIndex)) lessonIndexTrailing = ".";
if (lesson.substituteTeacher != "") {
if (lesson.substituteTeacher?.name != "") {
accent = AppColors.of(context).yellow;
}