show classname instead of teacher name in teacher timetable view

This commit is contained in:
MineTec committed 2026-08-09 12:19:57 +02:00
1 parent 39c16bd4ea
commit 889d8f67c5
21 files changed
+292 -81

No files matched your search

+3
View File
@@ -28,6 +28,9 @@ abstract class WidgetLesson with _$WidgetLesson {
required String subjectShort,
String? subjectLong,
String? room,
/// On teacher accounts this carries the class label ("7a") instead of the
/// teacher short name — see `WidgetDataMapper` `showClassInsteadOfTeacher`;
/// [originalTeacher] is null in that case.
String? teacher,
String? originalTeacher,
required WidgetLessonStatus status,