Fixes for categories index
(cherry picked from commit af3a036e80)
# Conflicts:
# app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryTab.kt
This commit is contained in:
@@ -238,7 +238,7 @@ object LibraryTab : Tab {
|
||||
navigator.push(GlobalSearchScreen(screenModel.state.value.searchQuery ?: ""))
|
||||
},
|
||||
getNumberOfMangaForCategory = { state.getMangaCountForCategory(it) },
|
||||
getDisplayModeForPage = { state.categories[it].display },
|
||||
getDisplayModeForPage = { state.categories[it.coerceAtMost(state.categories.lastIndex)].display },
|
||||
getColumnsForOrientation = { screenModel.getColumnsPreferenceForCurrentOrientation(it) },
|
||||
) { state.getLibraryItemsByPage(it) }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user