From e642d916362e3c983d78b91ff91450739f24e675 Mon Sep 17 00:00:00 2001 From: tibbi Date: Fri, 3 Feb 2017 21:20:44 +0100 Subject: [PATCH] update day labels in weekly view on resume to fix some color glitching --- .../com/simplemobiletools/calendar/fragments/WeekFragment.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/fragments/WeekFragment.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/fragments/WeekFragment.kt index 78e56b0ea..4cf34ee24 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/fragments/WeekFragment.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/fragments/WeekFragment.kt @@ -66,12 +66,12 @@ class WeekFragment : Fragment(), WeeklyCalendar { mRes = resources mCalendar = WeeklyCalendarImpl(this, context) - setupDayLabels() return mView } override fun onResume() { super.onResume() + setupDayLabels() mCalendar.updateWeeklyCalendar(mWeekTimestamp) mView.week_events_scrollview.viewTreeObserver.addOnGlobalLayoutListener(object : ViewTreeObserver.OnGlobalLayoutListener {