Fix group by settings with only default category
This commit is contained in:
parent
7cbf795295
commit
46fc6d44bc
1 changed files with 1 additions and 1 deletions
|
|
@ -505,7 +505,7 @@ class LibrarySettingsSheet(
|
|||
private val groupItems = mutableListOf<Item.DrawableSelection>()
|
||||
private val trackManager: TrackManager = Injekt.get()
|
||||
private val hasCategories = runBlocking {
|
||||
Injekt.get<GetCategories>().await().isNotEmpty()
|
||||
Injekt.get<GetCategories>().await().filterNot(Category::isSystemCategory).isNotEmpty()
|
||||
}
|
||||
|
||||
init {
|
||||
|
|
|
|||
Loading…
Reference in a new issue