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:
parent
07f8685741
commit
0b07825fd3
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue