mirror of
https://github.com/szkolny-eu/szkolny-android.git
synced 2024-11-25 03:14:37 -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 {
|
var lessons = lessonList.filter {
|
||||||
it.profileId == profile.id
|
it.profileId == profile.id
|
||||||
&& it.displayDate == timetableDate
|
&& it.displayDate == timetableDate
|
||||||
&& it.displayEndTime > now
|
/*&& it.displayEndTime > now*/
|
||||||
&& !(it.isCancelled && ignoreCancelled)
|
&& !(it.isCancelled && ignoreCancelled)
|
||||||
}
|
}
|
||||||
while ((lessons.isEmpty() || lessons.none {
|
while ((lessons.isEmpty() || lessons.none {
|
||||||
|
Loading…
Reference in New Issue
Block a user