1
0
forked from firka/firka

Üres napnál amennyiben pld tanítás nélküli munkanap, akkor jelzi a felhasználónak

This commit is contained in:
2025-10-02 20:48:21 +02:00
committed by Armand
parent ff73bafb0d
commit 2f0c6ca9df

View File

@@ -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++) {