diff --git a/firka/lib/ui/phone/widgets/tt_day.dart b/firka/lib/ui/phone/widgets/tt_day.dart index ebc393f1..5556a323 100644 --- a/firka/lib/ui/phone/widgets/tt_day.dart +++ b/firka/lib/ui/phone/widgets/tt_day.dart @@ -39,7 +39,14 @@ class TimeTableDayWidget extends StatelessWidget { .apply(color: appStyle.colors.textSecondary)), Text(data.l10n.tt_no_classes_l2, style: appStyle.fonts.B_16R - .apply(color: appStyle.colors.textSecondary)) + .apply(color: appStyle.colors.textSecondary)), + if (events.isNotEmpty) + ...events.map((event) => + Center( + child: Text(event.name.replaceAll(" (Nem órarendi nap)", ""), + style: appStyle.fonts.B_16R + .apply(color: appStyle.colors.textSecondary)), + )) ]); } else { for (var i = 0; i < events.length; i++) {