mirror of
https://github.com/SimpleMobileTools/Simple-Notes.git
synced 2025-06-05 17:00:23 +02:00
adding widget support too
This commit is contained in:
@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user