mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-08-15 06:07:26 +00:00
Fix language settings
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user