Skip to content

Commit

Permalink
fix: tag sort
Browse files Browse the repository at this point in the history
  • Loading branch information
rebelonion committed Feb 22, 2024
1 parent 506a057 commit 57833be
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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()) {
Expand Down

0 comments on commit 57833be

Please sign in to comment.