diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryPresenter.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryPresenter.kt index b43cd272e..995cdf3d7 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryPresenter.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryPresenter.kt @@ -644,7 +644,7 @@ class LibraryPresenter( val defaultTitle = stringResource(id = R.string.label_library) val default = remember { LibraryToolbarTitle(defaultTitle) } - return produceState(initialValue = default, category, mangaCountVisibility, tabVisibility) { + return produceState(initialValue = default, category, loadedManga, mangaCountVisibility, tabVisibility) { val title = if (tabVisibility.not()) category?.name ?: defaultTitle else defaultTitle value = when {