From 5a86786894d3015a9a42aa4603863089ea61c848 Mon Sep 17 00:00:00 2001 From: tibbi Date: Thu, 6 Jul 2017 22:56:39 +0200 Subject: [PATCH] catch just ArrayIndexOutOfBoundsException at the monthly widget try/catch block --- .../calendar/helpers/MyWidgetMonthlyProvider.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 abeb6965e..55ee24acc 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/helpers/MyWidgetMonthlyProvider.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/helpers/MyWidgetMonthlyProvider.kt @@ -220,7 +220,7 @@ class MyWidgetMonthlyProvider : AppWidgetProvider(), MonthlyCalendar { updateMonth(month) updateDays(days) updateWidget() - } catch (ignored: Exception) { + } catch (ignored: ArrayIndexOutOfBoundsException) { } }