use empty importId if null
This commit is contained in:
parent
a34f61a562
commit
8804518572
|
@ -699,7 +699,7 @@ class DBHelper private constructor(val context: Context) : SQLiteOpenHelper(cont
|
|||
var repeatRule = cursor.getIntValue(COL_REPEAT_RULE)
|
||||
val title = cursor.getStringValue(COL_TITLE)
|
||||
val description = cursor.getStringValue(COL_DESCRIPTION)
|
||||
val importId = cursor.getStringValue(COL_IMPORT_ID)
|
||||
val importId = cursor.getStringValue(COL_IMPORT_ID) ?: ""
|
||||
val flags = cursor.getIntValue(COL_FLAGS)
|
||||
val repeatLimit = cursor.getIntValue(COL_REPEAT_LIMIT)
|
||||
val eventType = cursor.getIntValue(COL_EVENT_TYPE)
|
||||
|
|
Loading…
Reference in New Issue