fix: tag sort

This commit is contained in:
rebelonion 2024-02-21 23:47:48 -06:00
parent 506a0576df
commit 57833be7df

View file

@ -670,8 +670,8 @@ class AnilistQueries {
PrefManager.getVal<Set<String>>(PrefName.TagsListNonAdult).toMutableList()
var tags = if (adultTags.isEmpty() || nonAdultTags.isEmpty()) null else
mapOf(
true to adultTags,
false to nonAdultTags
true to adultTags.sortedBy { it },
false to nonAdultTags.sortedBy { it }
)
if (genres.isNullOrEmpty()) {