mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-05 00:15:08 +01:00
Fix total item count in library app bar (#8117)
This commit is contained in:
parent
ad84a8c3e9
commit
ef2c9460b5
@ -631,7 +631,7 @@ class LibraryPresenter(
|
||||
val count = when {
|
||||
category == null || mangaCountVisibility.not() -> null
|
||||
tabVisibility.not() -> loadedManga[category.id]?.size
|
||||
else -> loadedManga.values.flatten().distinct().size
|
||||
else -> loadedManga.values.flatten().distinctBy { it.manga.id }.size
|
||||
}
|
||||
|
||||
value = when (category) {
|
||||
|
Loading…
Reference in New Issue
Block a user