mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-22 22:01:51 +01:00
Fix crash when opening library sheet with empty category list (#7822)
This commit is contained in:
parent
6d6c38ecaf
commit
58e6479438
@ -121,7 +121,7 @@ class LibraryController(
|
|||||||
}
|
}
|
||||||
|
|
||||||
fun showSettingsSheet() {
|
fun showSettingsSheet() {
|
||||||
presenter.categories[presenter.activeCategory].let { category ->
|
presenter.categories.getOrNull(presenter.activeCategory)?.let { category ->
|
||||||
settingsSheet?.show(category)
|
settingsSheet?.show(category)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user