From e0918b446f73b90e1a52b466fdef03aa180957b2 Mon Sep 17 00:00:00 2001 From: tibbi Date: Wed, 24 Oct 2018 12:00:09 +0200 Subject: [PATCH] adding a missed variable name --- .../kotlin/com/simplemobiletools/calendar/helpers/DBHelper.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/helpers/DBHelper.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/helpers/DBHelper.kt index 9a28c4a30..8dfeaa3ce 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/helpers/DBHelper.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/helpers/DBHelper.kt @@ -683,7 +683,7 @@ class DBHelper private constructor(val context: Context) : SQLiteOpenHelper(cont fun getEvents(fromTS: Int, toTS: Int, eventId: Int = -1, callback: (events: ArrayList) -> Unit) { Thread { - getEventsInBackground(fromTS, toTS, eventId, callback) + getEventsInBackground(fromTS, toTS, eventId, callback = callback) }.start() }