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) {
|
} else if (key == BYMONTHDAY) {
|
||||||
val byMonthDayValueArray = value.split(",")
|
val byMonthDayValueArray = value.split(",")
|
||||||
val intFlag = byMonthDayValueArray.find { it.toInt() == -1 }
|
val intFlag = byMonthDayValueArray.find { it.toInt() == -1 }
|
||||||
if (intFlag == null)
|
if (intFlag != null)
|
||||||
repeatRule = REPEAT_LAST_DAY
|
repeatRule = REPEAT_LAST_DAY
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue