mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-24 02:25:28 +00:00
Fix language settings
This commit is contained in:
parent
ab2cc72814
commit
95353ce9eb
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user