fix Indonesian locale value and remove commented navigation code in AppNavHost.kt

This commit is contained in:
PranshulGG committed 2026-06-15 19:04:12 +05:30
1 parent 010a1068a5
commit f06de99291
3 files changed
+4 -6

No files matched your search

@@ -64,11 +64,6 @@ fun AppNavHost(
) {
navigation(
route = "root",
// startDestination = NavRoutes.blockScreen(
// NavRoutes.SNOW,
// 0,
// "39359ae2-f32c-4859-ab39-916e664dc28f"
// )
startDestination = NavRoutes.MAIN
) {
composable(
@@ -40,7 +40,7 @@ fun getAppLocalLocales(): List<Language> {
Language(name = "Hungarian", value = "hu-HU", nativeName = "Magyar", code = "HU"),
Language(
name = "Indonesian",
value = "in-ID",
value = "id-ID",
nativeName = "Bahasa Indonesia",
code = "ID"
),
@@ -80,6 +80,9 @@ fun LanguageScreen(navController: NavController) {
tiles = languageList.map {
val selected =
if (isSystemLanguage) it.value == "sys" else it.value == currentAppLocale.value
SettingTile.ActionTile(
leading = {
if (selected) AvatarCheck(