Fix for parsing .ics file when the key BYMONTHDAY is present in the .ics file.

Earlier commit had a wrong check which has been updated.
This commit is contained in:
saunaklogan 2020-05-04 22:18:12 +05:30
parent 07f8685741
commit 0b07825fd3
1 changed files with 1 additions and 1 deletions

View File

@ -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
}
}