mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-07 20:31:02 -05: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