show classname instead of teacher name in teacher timetable view

This commit is contained in:
2026-08-09 12:19:57 +02:00
parent 39c16bd4ea
commit 889d8f67c5
21 changed files with 292 additions and 81 deletions
@@ -27,6 +27,8 @@ struct WidgetLesson: Codable {
let subjectShort: String
let subjectLong: String?
let room: String?
// On teacher accounts this carries the class label ("7a") instead of the
// teacher short name (originalTeacher is nil then) mapped in Dart.
let teacher: String?
let originalTeacher: String?
let status: WidgetLessonStatus