From 95353ce9eb814476f7e11701939d170c851d18b6 Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Tue, 25 Jan 2022 01:31:15 -0800 Subject: [PATCH] Fix language settings --- .../main/java/com/topjohnwu/magisk/ui/settings/SettingsItems.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/com/topjohnwu/magisk/ui/settings/SettingsItems.kt b/app/src/main/java/com/topjohnwu/magisk/ui/settings/SettingsItems.kt index da60fa8fd..8fc75ebbd 100644 --- a/app/src/main/java/com/topjohnwu/magisk/ui/settings/SettingsItems.kt +++ b/app/src/main/java/com/topjohnwu/magisk/ui/settings/SettingsItems.kt @@ -62,6 +62,7 @@ object Language : BaseSettingsItem.Selector() { entryValues = values val selectedLocale = currentLocale.getDisplayName(currentLocale) value = names.indexOfFirst { it == selectedLocale }.let { if (it == -1) 0 else it } + notifyPropertyChanged(BR.description) } } }