Skip to content

Commit 3f65903

Browse files
committed
fix(settings): change appLanguages from Triple to Pair for correct type matching
1 parent 5e1cd53 commit 3f65903

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/src/main/java/com/lagradost/cloudstream3/ui/settings/SettingsGeneral.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ fun getCurrentLocale(context: Context): String {
6666
*/
6767
val appLanguages = arrayListOf(
6868
/* begin language list */
69-
Triple("", "English", "en"),
70-
Triple("", "українська", "uk"),
69+
Pair("English", "en"),
70+
Pair("українська", "uk"),
7171
/* end language list */
7272
).sortedBy { it.first.lowercase(Locale.ROOT) } // ye, we go alphabetical, so ppl don't put their lang on top
7373

0 commit comments

Comments
 (0)