Hiding an item no longer removes it from favorites and vice versa

This commit is contained in:
MM20
2024-04-21 01:49:09 +02:00
parent 234419267c
commit fcf6578450
2 changed files with 2 additions and 5 deletions
@@ -16,7 +16,6 @@ class FavoritesService(
limit: Int = 100,
): Flow<List<SavableSearchable>> {
return searchableRepository.get(
hidden = false,
includeTypes = includeTypes,
excludeTypes = excludeTypes,
manuallySorted = manuallySorted,
@@ -38,7 +37,6 @@ class FavoritesService(
searchableRepository.upsert(
searchable,
pinned = true,
hidden = false,
)
}
@@ -63,7 +61,6 @@ class FavoritesService(
searchableRepository.upsert(
searchable,
hidden = true,
pinned = false,
)
}