Skip to content

Commit 56dba15

Browse files
committed
Allow null where argument in iterateEventAndExceptions
1 parent cbe3bd2 commit 56dba15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/main/kotlin/at/bitfire/synctools/storage/calendar/AndroidRecurringCalendar.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ class AndroidRecurringCalendar(
9191
* @param whereArgs arguments for selection
9292
* @param body callback that is called for each event (including exceptions)
9393
*/
94-
fun iterateEventAndExceptions(where: String, whereArgs: Array<String>?, body: (EventAndExceptions) -> Unit) {
94+
fun iterateEventAndExceptions(where: String?, whereArgs: Array<String>?, body: (EventAndExceptions) -> Unit) {
9595
// iterate through main events and attach exceptions
9696
calendar.iterateEvents(where, whereArgs) { main ->
9797
val mainEventId = main.entityValues.getAsLong(Events._ID)

0 commit comments

Comments
 (0)