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