Ensure searchables with tags are saved to searchable table
This commit is contained in:
parent
110a49c7c8
commit
f5d46f254c
@ -92,6 +92,7 @@ internal class CustomAttributesRepositoryImpl(
|
||||
override fun setTags(searchable: Searchable, tags: List<String>) {
|
||||
val dao = appDatabase.customAttrsDao()
|
||||
scope.launch {
|
||||
favoritesRepository.save(searchable)
|
||||
dao.setTags(searchable.key, tags.map {
|
||||
CustomTag(it).toDatabaseEntity(searchable.key)
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user