diff --git a/customattrs/src/main/java/de/mm20/launcher2/customattrs/CustomAttributesRepository.kt b/customattrs/src/main/java/de/mm20/launcher2/customattrs/CustomAttributesRepository.kt index 35a53f57..e408a336 100644 --- a/customattrs/src/main/java/de/mm20/launcher2/customattrs/CustomAttributesRepository.kt +++ b/customattrs/src/main/java/de/mm20/launcher2/customattrs/CustomAttributesRepository.kt @@ -92,6 +92,7 @@ internal class CustomAttributesRepositoryImpl( override fun setTags(searchable: Searchable, tags: List) { val dao = appDatabase.customAttrsDao() scope.launch { + favoritesRepository.save(searchable) dao.setTags(searchable.key, tags.map { CustomTag(it).toDatabaseEntity(searchable.key) })