forked from firka/student-legacy
Fix cancelled vs. delayed card
Fixes https://discord.com/channels/1111649116020285532/1154687576758829097 Implements 9845a35 from `cancelled-bugfix` branch Deletes `cancelled-bugfix` branch
This commit is contained in:
parent
f95d4582be
commit
1d5ebe7bbd
@ -57,9 +57,9 @@ class ChangedLessonTile extends StatelessWidget {
|
||||
),
|
||||
),
|
||||
title: Text(
|
||||
lesson.substituteTeacher?.name != "" || lesson.substituteTeacher?.name != null
|
||||
? "substituted".i18n
|
||||
: "cancelled".i18n,
|
||||
lesson.status?.name == "Elmaradt" && lesson.substituteTeacher?.name != ""
|
||||
? "cancelled".i18n
|
||||
: "substituted".i18n,
|
||||
maxLines: 2,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
style: const TextStyle(fontWeight: FontWeight.w600),
|
||||
|
Loading…
x
Reference in New Issue
Block a user