create a table for widgets

This commit is contained in:
tibbi
2018-11-07 12:25:47 +01:00
parent e7ff0c6e15
commit d0e731fcb7
6 changed files with 36 additions and 4 deletions

View File

@ -201,7 +201,7 @@ class DBHelper private constructor(private val mContext: Context) : SQLiteOpenHe
do {
val widgetId = cursor.getIntValue(COL_WIDGET_ID)
val noteId = cursor.getIntValue(COL_NOTE_ID)
val widget = Widget(widgetId, noteId)
val widget = Widget(0, widgetId, noteId)
widgets.add(widget)
} while (cursor.moveToNext())
}