mirror of
https://github.com/FossifyOrg/File-Manager.git
synced 2026-09-22 13:45:07 -04:00
make sure we show the Use English toggle once it was changed
This commit is contained in:
1 parent
153812547d
commit
5cffc14e52
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -46,7 +46,7 @@ ext {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compile 'com.simplemobiletools:commons:2.38.5'
|
||||
compile 'com.simplemobiletools:commons:2.38.6'
|
||||
compile 'com.bignerdranch.android:recyclerview-multiselect:0.2'
|
||||
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
||||
|
||||
|
||||
+1
-1
@@ -48,7 +48,7 @@ class SettingsActivity : SimpleActivity() {
|
||||
}
|
||||
|
||||
private fun setupUseEnglish() {
|
||||
settings_use_english_holder.beVisibleIf(Locale.getDefault().language != "en")
|
||||
settings_use_english_holder.beVisibleIf(config.wasUseEnglishToggled || Locale.getDefault().language != "en")
|
||||
settings_use_english.isChecked = config.useEnglish
|
||||
settings_use_english_holder.setOnClickListener {
|
||||
settings_use_english.toggle()
|
||||
|
||||
Reference in new issue
Block a user