update day labels in weekly view on resume to fix some color glitching

This commit is contained in:
tibbi 2017-02-03 21:20:44 +01:00
parent 48cd9b608e
commit e642d91636
1 changed files with 1 additions and 1 deletions

View File

@ -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 {