use the regular_event_id constant at adding the regular event in db
This commit is contained in:
parent
c867e44cdc
commit
951a03ec7c
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ class DBHelper private constructor(val context: Context) : SQLiteOpenHelper(cont
|
|||
|
||||
private fun addRegularEventType(db: SQLiteDatabase) {
|
||||
val regularEvent = context.resources.getString(R.string.regular_event)
|
||||
val eventType = EventType(1, regularEvent, context.config.primaryColor)
|
||||
val eventType = EventType(REGULAR_EVENT_ID, regularEvent, context.config.primaryColor)
|
||||
addEventType(eventType, db)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue