[Widget/Timetable] Fix past lessons (today) not displayed.

This commit is contained in:
Kuba Szczodrzyński 2020-01-07 10:14:43 +01:00
parent 6ece6ca52a
commit f9c7492726

View File

@ -219,7 +219,7 @@ class WidgetTimetableProvider : AppWidgetProvider() {
var lessons = lessonList.filter {
it.profileId == profile.id
&& it.displayDate == timetableDate
&& it.displayEndTime > now
/*&& it.displayEndTime > now*/
&& !(it.isCancelled && ignoreCancelled)
}
while ((lessons.isEmpty() || lessons.none {