mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-10 10:17:48 +01:00
Fix library download counts not being loaded if downloaded filter is in exclusion state
This commit is contained in:
parent
e49781de7a
commit
e4a2f35907
1 changed files with 1 additions and 1 deletions
|
@ -331,7 +331,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) {
|
||||
downloadManager.getDownloadCount(libraryManga.manga).toLong()
|
||||
} else {
|
||||
0
|
||||
|
|
Loading…
Reference in a new issue