adding a missed variable name

This commit is contained in:
tibbi 2018-10-24 12:00:09 +02:00
parent 3dba9c5026
commit e0918b446f
1 changed files with 1 additions and 1 deletions

View File

@ -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<Event>) -> Unit) {
Thread {
getEventsInBackground(fromTS, toTS, eventId, callback)
getEventsInBackground(fromTS, toTS, eventId, callback = callback)
}.start()
}