music: fix root menus shown
This commit is contained in:
parent
2857f7d92c
commit
fd597ea16a
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ constructor(
|
|||
) =
|
||||
when (category) {
|
||||
is Category.Root -> {
|
||||
val base = Category.MUSIC.take(category.amount)
|
||||
val base = Category.MUSIC.take(category.amount - 1)
|
||||
if (base.size < Category.MUSIC.size) {
|
||||
base + Category.More(Category.MUSIC.size - base.size)
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue