recheck monthly events at resume too

This commit is contained in:
tibbi 2016-09-18 20:54:49 +02:00
parent 8c4b4a6c6d
commit 1df21eba14

View file

@ -58,7 +58,6 @@ class MonthFragment : Fragment(), Calendar {
override fun onViewCreated(view: View?, savedInstanceState: Bundle?) {
super.onViewCreated(view, savedInstanceState)
mCalendar = CalendarImpl(this, context)
mCalendar!!.updateCalendar(Formatter.getDateTimeFromCode(mDayCode))
}
override fun onResume() {
@ -67,6 +66,7 @@ class MonthFragment : Fragment(), Calendar {
mSundayFirst = mConfig.isSundayFirst
setupLabels()
}
mCalendar!!.updateCalendar(Formatter.getDateTimeFromCode(mDayCode))
}
override fun updateCalendar(month: String, days: List<Day>) {