mirror of
https://github.com/szkolny-eu/szkolny-android.git
synced 2024-11-24 19:04:38 -06:00
[Timetable] Ignore last lessons if cancelled and jump to the next day.
This commit is contained in:
parent
ee43d40680
commit
30044d6b21
@ -156,6 +156,7 @@ class HomeTimetableCard(
|
||||
|| (it.displayDate == today
|
||||
&& it.displayEndTime != null
|
||||
&& it.displayEndTime!! >= now))
|
||||
&& !it.isCancelled
|
||||
}) && checkedDays < 7) {
|
||||
|
||||
timetableDate.stepForward(0, 0, 1)
|
||||
|
@ -219,6 +219,7 @@ class WidgetTimetableProvider : AppWidgetProvider() {
|
||||
|| (it.displayDate == today
|
||||
&& it.displayEndTime != null
|
||||
&& it.displayEndTime!! >= now))
|
||||
&& !it.isCancelled
|
||||
}) && checkedDays < 7) {
|
||||
|
||||
timetableDate.stepForward(0, 0, 1)
|
||||
|
Loading…
Reference in New Issue
Block a user