Fix group by settings with only default category
This commit is contained in:
parent
7cbf795295
commit
46fc6d44bc
@ -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…
x
Reference in New Issue
Block a user