mirror of
https://github.com/aniyomiorg/aniyomi.git
synced 2024-11-23 21:27:40 +03:00
Fix crash when opening library sheet with empty category list (#7822)
This commit is contained in:
parent
6d6c38ecaf
commit
58e6479438
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ class LibraryController(
|
|||
}
|
||||
|
||||
fun showSettingsSheet() {
|
||||
presenter.categories[presenter.activeCategory].let { category ->
|
||||
presenter.categories.getOrNull(presenter.activeCategory)?.let { category ->
|
||||
settingsSheet?.show(category)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue