mirror of
https://github.com/SimpleMobileTools/Simple-Contacts.git
synced 2025-01-08 13:51:37 +01:00
do not show the Use English setting item on Android 13+
This commit is contained in:
parent
a8454506ef
commit
82e9c277f0
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user