mirror of
https://github.com/szkolny-eu/szkolny-android.git
synced 2024-11-24 19:04:38 -06:00
[Widget/Timetable] Fix past lessons (today) not displayed.
This commit is contained in:
parent
6ece6ca52a
commit
f9c7492726
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user