fix the monthly calendar event marking synchronization
This commit is contained in:
parent
0a24dcbc31
commit
9d0ecca972
|
@ -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()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue