update day labels in weekly view on resume to fix some color glitching
This commit is contained in:
parent
48cd9b608e
commit
e642d91636
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue