Always show library tabs and counts when searching

Closes #8680
This commit is contained in:
arkon
2022-12-05 10:06:41 -05:00
parent c288e6b8fa
commit 3f9820ac79
4 changed files with 3 additions and 6 deletions

View File

@@ -38,7 +38,7 @@ fun LazyGridScope.globalSearchItem(
searchQuery: String?,
onGlobalSearchClicked: () -> Unit,
) {
if (searchQuery.isNullOrEmpty().not()) {
if (!searchQuery.isNullOrEmpty()) {
item(
span = { GridItemSpan(maxLineSpan) },
contentType = { "library_global_search_item" },

View File

@@ -32,7 +32,6 @@ fun LibraryContent(
selection: List<LibraryManga>,
contentPadding: PaddingValues,
currentPage: () -> Int,
isLibraryEmpty: Boolean,
showPageTabs: Boolean,
onChangeCurrentPage: (Int) -> Unit,
onMangaClicked: (Long) -> Unit,