mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-12 09:13:23 +00:00
lint
This commit is contained in:
+2
-1
@@ -122,7 +122,8 @@ fun UserSettingsScreen(
|
||||
|
||||
private fun getAllLanguagesSorted(): List<JavaLocale> {
|
||||
val seen = mutableSetOf<String>()
|
||||
return JavaLocale.getAvailableLocales()
|
||||
return JavaLocale
|
||||
.getAvailableLocales()
|
||||
.filter { it.language.isNotBlank() && it.country.isBlank() && seen.add(it.language) }
|
||||
.sortedBy { it.displayName.lowercase() }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user