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:
parent
3f644979c4
commit
55a07ae51a
@ -485,7 +485,7 @@ class LibraryPresenter(
|
|||||||
.map { libraryManga ->
|
.map { libraryManga ->
|
||||||
// Display mode based on user preference: take it from global library setting or category
|
// Display mode based on user preference: take it from global library setting or category
|
||||||
LibraryItem(libraryManga).apply {
|
LibraryItem(libraryManga).apply {
|
||||||
downloadCount = if (downloadBadgePref || filterDownloadedPref == State.INCLUDE.value) {
|
downloadCount = if (downloadBadgePref || filterDownloadedPref != State.IGNORE.value) {
|
||||||
// SY -->
|
// SY -->
|
||||||
if (libraryManga.manga.source == MERGED_SOURCE_ID) {
|
if (libraryManga.manga.source == MERGED_SOURCE_ID) {
|
||||||
runBlocking {
|
runBlocking {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user