Fix unusable categories when content is filtered out

Fixes #8675
Effectively reverts #8633, which introduces weird edge cases

(cherry picked from commit 4f5270cb7d)
This commit is contained in:
arkon
2022-12-04 13:39:53 -05:00
committed by Jobobby04
parent 2fa43ba2c0
commit eacc11634f
3 changed files with 3 additions and 8 deletions
@@ -61,7 +61,7 @@ fun LibraryContent(
val scope = rememberCoroutineScope()
var isRefreshing by remember(pagerState.currentPage) { mutableStateOf(false) }
if (!isLibraryEmpty && showPageTabs && categories.size > 1) {
if (showPageTabs && categories.size > 1) {
LibraryTabs(
categories = categories,
currentPageIndex = pagerState.currentPage,