diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/pro/helpers/CalDAVHelper.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/pro/helpers/CalDAVHelper.kt index 510d351c6..34608deec 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/pro/helpers/CalDAVHelper.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/pro/helpers/CalDAVHelper.kt @@ -107,6 +107,8 @@ class CalDAVHelper(val context: Context) { context.contentResolver.update(uri, values, null, null) context.eventTypesDB.insertOrUpdate(eventType) } catch (e: IllegalArgumentException) { + } catch (e: SecurityException) { + context.showErrorToast(e) } }