Add support for themed icon packs

This commit is contained in:
MM20
2023-02-14 22:39:29 +01:00
parent ebba36c384
commit 9e56f960e6
6 changed files with 131 additions and 64 deletions
@@ -51,6 +51,9 @@ interface IconDao {
@Query("SELECT * FROM IconPack")
suspend fun getInstalledIconPacks(): List<IconPackEntity>
@Query("SELECT * FROM IconPack WHERE packageName = :packageName LIMIT 1")
suspend fun getIconPack(packageName: String): IconPackEntity?
@Query("SELECT * FROM IconPack")
fun getInstalledIconPacksLiveData(): LiveData<List<IconPackEntity>>