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