mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-11-04 08:08:55 +01: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