fix: tag sort
This commit is contained in:
parent
506a0576df
commit
57833be7df
1 changed files with 2 additions and 2 deletions
|
@ -670,8 +670,8 @@ class AnilistQueries {
|
||||||
PrefManager.getVal<Set<String>>(PrefName.TagsListNonAdult).toMutableList()
|
PrefManager.getVal<Set<String>>(PrefName.TagsListNonAdult).toMutableList()
|
||||||
var tags = if (adultTags.isEmpty() || nonAdultTags.isEmpty()) null else
|
var tags = if (adultTags.isEmpty() || nonAdultTags.isEmpty()) null else
|
||||||
mapOf(
|
mapOf(
|
||||||
true to adultTags,
|
true to adultTags.sortedBy { it },
|
||||||
false to nonAdultTags
|
false to nonAdultTags.sortedBy { it }
|
||||||
)
|
)
|
||||||
|
|
||||||
if (genres.isNullOrEmpty()) {
|
if (genres.isNullOrEmpty()) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue