[UI] Fix DateDropdown next week Friday not visible.

This commit is contained in:
Kuba Szczodrzyński 2022-10-24 23:32:21 +02:00
parent ffd81f8b82
commit d3599b8c89
No known key found for this signature in database
GPG Key ID: 70CB8A85BA1633CB

View File

@ -112,7 +112,7 @@ class DateDropdown : TextInputDropDown {
date.stepForward(0, 0, -weekDay + 7)
weekDay = 0
// ALL SCHOOL DAYS OF THE NEXT WEEK
while (weekDay < 4) {
while (weekDay < 5) {
dates += Item(
date.value.toLong(),
context.getString(R.string.dialog_event_manual_date_next_week, Week.getFullDayName(weekDay), date.formattedString),