mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2024-12-25 15:52:26 +01:00
fix #504, do not dim future occurrences of repeatable events
This commit is contained in:
parent
4210808aec
commit
888a0bcd99
@ -756,7 +756,7 @@ class DBHelper private constructor(val context: Context) : SQLiteOpenHelper(cont
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (event.endTS >= fromTS) {
|
if (event.endTS >= fromTS) {
|
||||||
events.add(event.copy())
|
events.add(event.copy(isPastEvent = getIsPastEvent(event)))
|
||||||
} else if (event.getIsAllDay()) {
|
} else if (event.getIsAllDay()) {
|
||||||
val dayCode = Formatter.getDayCodeFromTS(fromTS)
|
val dayCode = Formatter.getDayCodeFromTS(fromTS)
|
||||||
val endDayCode = Formatter.getDayCodeFromTS(event.endTS)
|
val endDayCode = Formatter.getDayCodeFromTS(event.endTS)
|
||||||
|
Loading…
Reference in New Issue
Block a user