improved timetable date range calculation to ensure the current week remains accessible during holiday gaps or when persisted bounds are stale, and updated holiday labels to prioritize long names over short names in the calendar view.
This commit is contained in:
1 parent
74a2ddd17f
commit
b14e8c8ea2
2 files changed
+18
-4
No files matched your search
@@ -83,7 +83,7 @@ class SpecialRegionsBuilder {
|
||||
final day = startDay.addDays(i);
|
||||
final key = _dayKey(day);
|
||||
byDay.putIfAbsent(key, () => _HolidayDay(day, [])).names.add(
|
||||
holiday.shortName,
|
||||
holiday.longName.isNotEmpty ? holiday.longName : holiday.shortName,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user