diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/pro/helpers/Parser.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/pro/helpers/Parser.kt index f868d5e50..e4ee0a0e3 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/pro/helpers/Parser.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/pro/helpers/Parser.kt @@ -63,7 +63,7 @@ class Parser { } else if (key == BYMONTHDAY) { val byMonthDayValueArray = value.split(",") val intFlag = byMonthDayValueArray.find { it.toInt() == -1 } - if (intFlag == null) + if (intFlag != null) repeatRule = REPEAT_LAST_DAY } }