mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
fix: Default category should always be at the very beginning
This commit is contained in:
parent
2c137ef141
commit
e81086358f
1 changed files with 1 additions and 1 deletions
|
@ -936,7 +936,7 @@ class LibraryPresenter(
|
||||||
.groupBy { it.header.catId }
|
.groupBy { it.header.catId }
|
||||||
|
|
||||||
// Only show default category when needed
|
// Only show default category when needed
|
||||||
if (rt.containsKey(0)) categories.add(defaultCategory)
|
if (rt.containsKey(0)) categories.add(0, defaultCategory)
|
||||||
|
|
||||||
// NOTE: Empty list means hide the category entirely
|
// NOTE: Empty list means hide the category entirely
|
||||||
categories
|
categories
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue