Fix library download counts not being loaded if downloaded filter is in exclusion state

(cherry picked from commit e4a2f35907a8f0eefcbd30b6a9bde258dfd89111)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryPresenter.kt
This commit is contained in:
arkon 2022-10-28 19:05:55 -04:00 committed by Jobobby04
parent 3f644979c4
commit 55a07ae51a

View File

@ -485,7 +485,7 @@ class LibraryPresenter(
.map { libraryManga ->
// Display mode based on user preference: take it from global library setting or category
LibraryItem(libraryManga).apply {
downloadCount = if (downloadBadgePref || filterDownloadedPref == State.INCLUDE.value) {
downloadCount = if (downloadBadgePref || filterDownloadedPref != State.IGNORE.value) {
// SY -->
if (libraryManga.manga.source == MERGED_SOURCE_ID) {
runBlocking {