Add the ability to explicitely remove items from frequently used items

Close #113
This commit is contained in:
MM20
2022-09-19 22:57:57 +02:00
parent 91e68cd8d3
commit db7db74d2d
5 changed files with 90 additions and 18 deletions
@@ -160,4 +160,7 @@ interface SearchDao {
@Query("UPDATE Searchable SET `pinned` = 0")
fun unpinAll()
@Query("UPDATE Searchable Set `pinned` = 0, `launchCount` = 0 WHERE `key` = :key")
suspend fun resetPinStatusAndLaunchCounter(key: String)
}