Hide top row of favorites in favorites widget if it is directly below the clock widget favorites part

This commit is contained in:
MM20
2023-03-11 13:16:29 +01:00
parent 6424bf7b92
commit 824ae9bba2
4 changed files with 32 additions and 3 deletions
@@ -36,4 +36,7 @@ interface WidgetDao {
@Query("SELECT EXISTS(SELECT 1 FROM Widget WHERE type = :type AND data = :data)")
fun exists(type: String, data: String) : Flow<Boolean>
@Query("SELECT * FROM Widget ORDER BY position ASC LIMIT 1")
fun getFirst() : Flow<WidgetEntity?>
}