mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Update languages menu
This commit is contained in:
parent
5ecdafd60b
commit
400492870d
@ -38,7 +38,7 @@ fun LanguagesScreen(navController: NavHostController = rememberNavController())
|
|||||||
navigate = { context.openLanguageSettings() },
|
navigate = { context.openLanguageSettings() },
|
||||||
)
|
)
|
||||||
|
|
||||||
Tip("Note: The list below will only update after opening the keyboard")
|
Tip("Note: This screen is a WIP, use the above option to toggle languages. The list below only updates after opening the keyboard")
|
||||||
|
|
||||||
RichInputMethodManager.getInstance().getMyEnabledInputMethodSubtypeList(true).forEach {
|
RichInputMethodManager.getInstance().getMyEnabledInputMethodSubtypeList(true).forEach {
|
||||||
val name = SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(it)
|
val name = SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(it)
|
||||||
@ -50,6 +50,7 @@ fun LanguagesScreen(navController: NavHostController = rememberNavController())
|
|||||||
)
|
)
|
||||||
|
|
||||||
ScreenTitle(name)
|
ScreenTitle(name)
|
||||||
|
/*
|
||||||
NavigationItem(
|
NavigationItem(
|
||||||
title = dummyOptions.voiceInputModel ?: "None",
|
title = dummyOptions.voiceInputModel ?: "None",
|
||||||
style = dummyOptions.voiceInputModel?.let { NavigationItemStyle.HomeTertiary } ?: NavigationItemStyle.MiscNoArrow,
|
style = dummyOptions.voiceInputModel?.let { NavigationItemStyle.HomeTertiary } ?: NavigationItemStyle.MiscNoArrow,
|
||||||
@ -74,6 +75,7 @@ fun LanguagesScreen(navController: NavHostController = rememberNavController())
|
|||||||
},
|
},
|
||||||
icon = painterResource(id = R.drawable.cpu)
|
icon = painterResource(id = R.drawable.cpu)
|
||||||
)
|
)
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user