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 1c7642ed6..4a35172a5 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/helpers/MyWidgetMonthlyProvider.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/helpers/MyWidgetMonthlyProvider.kt @@ -77,7 +77,10 @@ class MyWidgetMonthlyProvider : AppWidgetProvider(), MonthlyCalendar { private fun updateWidget() { val thisWidget = ComponentName(mContext, MyWidgetMonthlyProvider::class.java) - AppWidgetManager.getInstance(mContext).updateAppWidget(thisWidget, mRemoteViews) + try { + AppWidgetManager.getInstance(mContext).updateAppWidget(thisWidget, mRemoteViews) + } catch (ignored: Exception) { + } } private fun setupIntent(action: String, id: Int) {