do not show the Use English setting item on Android 13+

This commit is contained in:
tibbi 2022-08-29 11:57:31 +02:00
parent a8454506ef
commit 82e9c277f0

View File

@ -119,7 +119,7 @@ class SettingsActivity : SimpleActivity() {
}
private fun setupUseEnglish() {
settings_use_english_holder.beVisibleIf(config.wasUseEnglishToggled || Locale.getDefault().language != "en")
settings_use_english_holder.beVisibleIf((config.wasUseEnglishToggled || Locale.getDefault().language != "en") && !isTiramisuPlus())
settings_use_english.isChecked = config.useEnglish
settings_use_english_holder.setOnClickListener {
settings_use_english.toggle()