adding widget support too

This commit is contained in:
tibbi
2018-11-07 21:32:29 +01:00
parent 66821397e9
commit 213cbd80fe
8 changed files with 22 additions and 120 deletions

View File

@ -13,4 +13,7 @@ interface WidgetsDao {
@Insert(onConflict = OnConflictStrategy.REPLACE)
fun insertOrUpdate(widget: Widget): Long
@Query("DELETE FROM widgets WHERE note_id = :noteId")
fun deleteNoteWidgets(noteId: Long)
}