From 1e3fbc81ddf2f1b7cbd34b17832a725b1051f4da Mon Sep 17 00:00:00 2001 From: tibbi Date: Sat, 22 Oct 2016 22:11:41 +0200 Subject: [PATCH] update the events in yearly view on resume --- .../com/simplemobiletools/calendar/fragments/YearFragment.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/fragments/YearFragment.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/fragments/YearFragment.kt index 27919d087..ca13d2d36 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/fragments/YearFragment.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/fragments/YearFragment.kt @@ -28,7 +28,6 @@ class YearFragment : Fragment(), YearlyCalendar { setupMonths() mCalendar = YearlyCalendarImpl(this, context) - mCalendar.getEvents(mYear) return mView } @@ -40,6 +39,8 @@ class YearFragment : Fragment(), YearlyCalendar { mSundayFirst = sundayFirst setupMonths() } + + mCalendar.getEvents(mYear) } fun setupMonths() {