Skip to content

Commit 3bd04a6

Browse files
committed
fixing a table name at a db insertion
1 parent d25101a commit 3bd04a6

File tree

1 file changed

+1
-1
lines changed
  • app/src/main/kotlin/com/simplemobiletools/notes/helpers

1 file changed

+1
-1
lines changed

app/src/main/kotlin/com/simplemobiletools/notes/helpers/DBHelper.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ class DBHelper private constructor(private val mContext: Context) : SQLiteOpenHe
9191

9292
fun insertWidget(widget: Widget): Int {
9393
val values = fillWidgetContentValues(widget)
94-
return mDb.insertWithOnConflict(NOTES_TABLE_NAME, null, values, CONFLICT_IGNORE).toInt()
94+
return mDb.insertWithOnConflict(WIDGETS_TABLE_NAME, null, values, CONFLICT_IGNORE).toInt()
9595
}
9696

9797
private fun fillNoteContentValues(note: Note): ContentValues {

0 commit comments

Comments
 (0)