Fix english absence error + comment bugreports

This commit is contained in:
Pearoo
2023-09-28 18:17:24 +02:00
parent 24a6393aca
commit 9845a35c6e
7 changed files with 11 additions and 8 deletions

View File

@@ -127,7 +127,7 @@ class AbsenceView extends StatelessWidget {
maxLines: 2,
overflow: TextOverflow.ellipsis,
),
onPressed: () {
onPressed: () { // https://discord.com/channels/1111649116020285532/1149964760130002945
Navigator.of(context).pop();
if (outsideContext != null) {

View File

@@ -57,7 +57,7 @@ class ChangedLessonTile extends StatelessWidget {
),
),
title: Text(
lesson.substituteTeacher?.name != ""
lesson.substituteTeacher?.name != "" || lesson.substituteTeacher?.name != null
? "substituted".i18n
: "cancelled".i18n,
maxLines: 2,