From 2f0c6ca9df6fc5324413d3e93daa8fea5a6460a6 Mon Sep 17 00:00:00 2001 From: balint1414 Date: Thu, 2 Oct 2025 20:48:21 +0200 Subject: [PATCH] =?UTF-8?q?=C3=9Cres=20napn=C3=A1l=20amennyiben=20pld=20ta?= =?UTF-8?q?n=C3=ADt=C3=A1s=20n=C3=A9lk=C3=BCli=20munkanap,=20akkor=20jelzi?= =?UTF-8?q?=20a=20felhaszn=C3=A1l=C3=B3nak?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- firka/lib/ui/phone/widgets/tt_day.dart | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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++) {