From 6c244ea925e32e558d61fa2000b35359208b000d Mon Sep 17 00:00:00 2001 From: tibbi Date: Fri, 20 Jan 2023 18:06:14 +0100 Subject: [PATCH] fix #1950, properly place weekly view grid items --- .../simplemobiletools/calendar/pro/fragments/WeekFragment.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/pro/fragments/WeekFragment.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/pro/fragments/WeekFragment.kt index 219a6e655..45e3be372 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/pro/fragments/WeekFragment.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/pro/fragments/WeekFragment.kt @@ -576,6 +576,9 @@ class WeekFragment : Fragment(), WeeklyCalendar { dayColumn.addView(this) y = currentEventWeeklyView!!.range.lower * minuteHeight + // compensate grid offset + y -= (currentEventWeeklyView.range.lower / 60) / 2 + week_event_task_image.beVisibleIf(event.isTask()) if (event.isTask()) { week_event_task_image.applyColorFilter(textColor)