Fix crash

This commit is contained in:
MM20
2023-08-20 21:15:11 +02:00
parent d8f11a04c7
commit cfbb4e786c
8 changed files with 8 additions and 8 deletions
@@ -139,7 +139,7 @@ class IconService(
}
fun getIcon(searchable: SavableSearchable, size: Int): Flow<LauncherIcon> {
fun getIcon(searchable: SavableSearchable, size: Int): Flow<LauncherIcon?> {
val customIcon = customAttributesRepository.getCustomIcon(searchable)
return combine(iconProviders, transformations, customIcon) { providers, transformations, ci ->
var icon = cache.get(searchable.key + ci.hashCode())