Note widget: add dismiss action

This commit is contained in:
MM20
2023-04-27 18:45:52 +02:00
parent 9f675da337
commit 5211f5bced
7 changed files with 119 additions and 23 deletions
@@ -51,4 +51,7 @@ interface WidgetDao {
@Query("SELECT EXISTS(SELECT 1 FROM Widget WHERE type = :type)")
fun exists(type: String): Flow<Boolean>
@Query("SELECT COUNT(*) FROM Widget WHERE type = :type")
fun count(type: String): Flow<Int>
}