diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/helpers/IcsExporter.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/helpers/IcsExporter.kt index c41bc07bf..b01685d52 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/helpers/IcsExporter.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/helpers/IcsExporter.kt @@ -99,7 +99,7 @@ class IcsExporter { } private fun getByDay(event: Event): String { - return if (event.repeatInterval != WEEK) { + return if (event.repeatInterval == 0 || event.repeatInterval % WEEK != 0) { "" } else { val days = getByDayString(event.repeatRule)