mirror of
https://github.com/aniyomiorg/aniyomi.git
synced 2024-11-27 08:16:36 +03:00
Fix total item count in library app bar (#8117)
This commit is contained in:
parent
ad84a8c3e9
commit
ef2c9460b5
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue