mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-24 00:51:47 +01:00
Fixing crash when library view is null
This commit is contained in:
parent
31bde4124d
commit
5bf039b801
@ -294,6 +294,7 @@ class LibraryController(
|
||||
}
|
||||
|
||||
private fun setActiveCategory() {
|
||||
category_recycler ?: return
|
||||
val currentCategory = presenter.categories.indexOfFirst {
|
||||
if (presenter.showAllCategories) it.order == activeCategory else presenter.currentCategory == it.id
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user