1
0
mirror of https://github.com/mihonapp/mihon.git synced 2025-09-21 04:08:46 +02:00

Fix crash when opening library sheet with empty category list ()

This commit is contained in:
Andreas
2022-08-19 22:02:37 +02:00
committed by GitHub
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)
} }
} }