mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-06-05 21:59:17 +02:00
fix the monthly calendar event marking synchronization
This commit is contained in:
@ -82,8 +82,6 @@ class MonthlyCalendarImpl(val mCallback: MonthlyCalendar, val mContext: Context)
|
|||||||
}
|
}
|
||||||
|
|
||||||
markDaysWithEvents(days)
|
markDaysWithEvents(days)
|
||||||
|
|
||||||
mCallback.updateMonthlyCalendar(monthName, days)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// it works more often than not, dont touch
|
// 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])
|
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)
|
mEvents = mContext.getFilteredEvents(events)
|
||||||
else
|
else
|
||||||
mEvents = events
|
mEvents = events
|
||||||
|
|
||||||
getDays()
|
getDays()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user