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 {
|
val count = when {
|
||||||
category == null || mangaCountVisibility.not() -> null
|
category == null || mangaCountVisibility.not() -> null
|
||||||
tabVisibility.not() -> loadedManga[category.id]?.size
|
tabVisibility.not() -> loadedManga[category.id]?.size
|
||||||
else -> loadedManga.values.flatten().distinct().size
|
else -> loadedManga.values.flatten().distinctBy { it.manga.id }.size
|
||||||
}
|
}
|
||||||
|
|
||||||
value = when (category) {
|
value = when (category) {
|
||||||
|
|
Reference in a new issue