mirror of
https://github.com/SimpleMobileTools/Simple-Launcher.git
synced 2025-06-05 21:59:15 +02:00
add a new menu button for removing icons from the home screen
This commit is contained in:
@ -23,6 +23,9 @@ interface HomeScreenGridItemsDao {
|
||||
@Query("UPDATE home_screen_grid_items SET `left` = :left, `top` = :top, `right` = :right, `bottom` = :bottom WHERE id = :id")
|
||||
fun updateAppPosition(left: Int, top: Int, right: Int, bottom: Int, id: Long)
|
||||
|
||||
@Query("DELETE FROM home_screen_grid_items WHERE id = :id")
|
||||
fun deleteById(id: Long)
|
||||
|
||||
@Query("DELETE FROM home_screen_grid_items WHERE package_name = :packageName")
|
||||
fun deleteItem(packageName: String)
|
||||
fun deleteByPackageName(packageName: String)
|
||||
}
|
||||
|
Reference in New Issue
Block a user