diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/helpers/MyWidgetMonthlyProvider.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/helpers/MyWidgetMonthlyProvider.kt index 1d2c7e998..b2f03e6c9 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/helpers/MyWidgetMonthlyProvider.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/helpers/MyWidgetMonthlyProvider.kt @@ -182,7 +182,10 @@ class MyWidgetMonthlyProvider : AppWidgetProvider() { val monthCode = days.firstOrNull { it.code.substring(6) == "01" }?.code ?: Formatter.getTodayCode(context) setupAppOpenIntent(context, views, R.id.top_value, monthCode) - appWidgetManager.updateAppWidget(it, views) + try { + appWidgetManager.updateAppWidget(it, views) + } catch (ignored: RuntimeException) { + } } } }