Modify badge API

Pass searchable as argument instead of badgeKey which is now obsolete
This commit is contained in:
MM20
2022-03-05 15:25:57 +01:00
parent 9100af75bf
commit 47e7591975
25 changed files with 60 additions and 66 deletions
@@ -38,7 +38,7 @@ abstract class SearchableItemVM(
favoritesRepository.unhideItem(searchable)
}
val badge = badgeRepository.getBadge(searchable.badgeKey)
val badge = badgeRepository.getBadge(searchable)
fun getIcon(size: Int): Flow<LauncherIcon> {
return iconRepository.getIcon(searchable, size)