We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9ebe65 commit 501efeaCopy full SHA for 501efea
app/src/main/kotlin/com/simplemobiletools/notes/helpers/DBHelper.kt
@@ -112,6 +112,7 @@ class DBHelper private constructor(private val mContext: Context) : SQLiteOpenHe
112
113
fun deleteNote(id: Int) {
114
mDb.delete(NOTES_TABLE_NAME, "$COL_ID = $id", null)
115
+ mDb.delete(WIDGETS_TABLE_NAME, "$COL_NOTE_ID = $id", null)
116
}
117
118
fun doesNoteTitleExist(title: String): Boolean {
0 commit comments