Commit 95353ce9 authored by topjohnwu's avatar topjohnwu

Fix language settings

parent ab2cc728
...@@ -62,6 +62,7 @@ object Language : BaseSettingsItem.Selector() { ...@@ -62,6 +62,7 @@ object Language : BaseSettingsItem.Selector() {
entryValues = values entryValues = values
val selectedLocale = currentLocale.getDisplayName(currentLocale) val selectedLocale = currentLocale.getDisplayName(currentLocale)
value = names.indexOfFirst { it == selectedLocale }.let { if (it == -1) 0 else it } value = names.indexOfFirst { it == selectedLocale }.let { if (it == -1) 0 else it }
notifyPropertyChanged(BR.description)
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment