Prioritize "all" ("Multi") lang in extensions lists

Fixes #8811
Fixes #8812
This commit is contained in:
arkon
2023-01-05 22:34:24 -05:00
parent 91e282d7e5
commit 50d46fe7f6
4 changed files with 10 additions and 11 deletions

View File

@@ -11,6 +11,11 @@ import java.util.Locale
*/
object LocaleHelper {
val comparator = compareBy<String>(
{ getDisplayName(it) },
{ it == "all" },
)
/**
* Returns display name of a string language code.
*/