Skip to content

Commit

Permalink
Behavior change: SearchEmojiManager sorts by found index and then by …
Browse files Browse the repository at this point in the history
…shortcode. (#1041)
  • Loading branch information
vanniktech authored Dec 10, 2023
1 parent ff29d4e commit 86109ed
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ class SearchEmojiManager : SearchEmoji {
}
}
}
.sortedWith(compareBy({ it.range.first }, { it.shortcode }))
else -> emptyList()
}
}
Expand Down

0 comments on commit 86109ed

Please sign in to comment.