Fixes for categories index
(cherry picked from commit af3a036e80ba492180d2f2a16af7fffeb6f3fb09) # Conflicts: # app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryTab.kt
This commit is contained in:
parent
6af47d03cb
commit
e41688e5c8
@ -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) }
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user