mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-02-16 20:00:39 +01:00
Fixed displaying long events in weekly view (#2135)
This commit is contained in:
parent
dce40291ca
commit
549665e302
@ -552,7 +552,13 @@ class WeekFragment : Fragment(), WeeklyCalendar {
|
||||
do {
|
||||
val dayOfWeek = dayColumns.indexOfFirst { it.tag == currentDayCode }
|
||||
if (dayOfWeek == -1 || dayOfWeek >= config.weeklyViewDays) {
|
||||
continue@dayevents
|
||||
if (startDayCode != endDayCode) {
|
||||
currentDateTime = currentDateTime.plusDays(1)
|
||||
currentDayCode = Formatter.getDayCodeFromDateTime(currentDateTime)
|
||||
continue
|
||||
} else {
|
||||
continue@dayevents
|
||||
}
|
||||
}
|
||||
|
||||
val dayColumn = dayColumns[dayOfWeek]
|
||||
|
Loading…
x
Reference in New Issue
Block a user