remove home screen icons after uninstalling an app

This commit is contained in:
tibbi
2022-09-19 18:55:30 +02:00
parent 9c1458d89b
commit 4bcda4ba95
3 changed files with 11 additions and 0 deletions

View File

@ -13,4 +13,7 @@ interface HomeScreenGridItemsDao {
@Insert(onConflict = OnConflictStrategy.REPLACE)
fun insertAll(items: List<HomeScreenGridItem>)
@Query("DELETE FROM home_screen_grid_items WHERE package_name = :packageName")
fun deleteItem(packageName: String)
}