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)
|
var repeatRule = cursor.getIntValue(COL_REPEAT_RULE)
|
||||||
val title = cursor.getStringValue(COL_TITLE)
|
val title = cursor.getStringValue(COL_TITLE)
|
||||||
val description = cursor.getStringValue(COL_DESCRIPTION)
|
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 flags = cursor.getIntValue(COL_FLAGS)
|
||||||
val repeatLimit = cursor.getIntValue(COL_REPEAT_LIMIT)
|
val repeatLimit = cursor.getIntValue(COL_REPEAT_LIMIT)
|
||||||
val eventType = cursor.getIntValue(COL_EVENT_TYPE)
|
val eventType = cursor.getIntValue(COL_EVENT_TYPE)
|
||||||
|
|
Loading…
Reference in New Issue