fix the monthly calendar event marking synchronization

This commit is contained in:
tibbi 2017-04-23 21:05:57 +02:00
parent 0a24dcbc31
commit 9d0ecca972
1 changed files with 2 additions and 2 deletions

View File

@ -82,8 +82,6 @@ class MonthlyCalendarImpl(val mCallback: MonthlyCalendar, val mContext: Context)
}
markDaysWithEvents(days)
mCallback.updateMonthlyCalendar(monthName, days)
}
// it works more often than not, dont touch
@ -122,6 +120,7 @@ class MonthlyCalendarImpl(val mCallback: MonthlyCalendar, val mContext: Context)
day.eventColors.add(eventTypeColors[it.eventType])
}
}
mCallback.updateMonthlyCalendar(monthName, days)
}
}
@ -143,6 +142,7 @@ class MonthlyCalendarImpl(val mCallback: MonthlyCalendar, val mContext: Context)
mEvents = mContext.getFilteredEvents(events)
else
mEvents = events
getDays()
}
}