mirror of
https://github.com/mihonapp/mihon.git
synced 2025-06-26 02:57:50 +02:00
Fix crash when opening library sheet with empty category list (#7822)
This commit is contained in:
@ -121,7 +121,7 @@ class LibraryController(
|
||||
}
|
||||
|
||||
fun showSettingsSheet() {
|
||||
presenter.categories[presenter.activeCategory].let { category ->
|
||||
presenter.categories.getOrNull(presenter.activeCategory)?.let { category ->
|
||||
settingsSheet?.show(category)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user