mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-02-17 04:10:45 +01:00
catch exceptions thrown at updating monthly calendar
This commit is contained in:
parent
c9a342f516
commit
2199c4eb37
@ -216,9 +216,12 @@ class MyWidgetMonthlyProvider : AppWidgetProvider(), MonthlyCalendar {
|
||||
}
|
||||
|
||||
override fun updateMonthlyCalendar(month: String, days: List<Day>) {
|
||||
try {
|
||||
updateMonth(month)
|
||||
updateDays(days)
|
||||
updateWidget()
|
||||
} catch (ignored: Exception) {
|
||||
}
|
||||
}
|
||||
|
||||
private fun updateLabelColor() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user