Skip to content

Commit 5cffc14

Browse files
committed
make sure we show the Use English toggle once it was changed
1 parent 1538125 commit 5cffc14

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ ext {
4646
}
4747

4848
dependencies {
49-
compile 'com.simplemobiletools:commons:2.38.5'
49+
compile 'com.simplemobiletools:commons:2.38.6'
5050
compile 'com.bignerdranch.android:recyclerview-multiselect:0.2'
5151
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
5252

app/src/main/kotlin/com/simplemobiletools/filemanager/activities/SettingsActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class SettingsActivity : SimpleActivity() {
4848
}
4949

5050
private fun setupUseEnglish() {
51-
settings_use_english_holder.beVisibleIf(Locale.getDefault().language != "en")
51+
settings_use_english_holder.beVisibleIf(config.wasUseEnglishToggled || Locale.getDefault().language != "en")
5252
settings_use_english.isChecked = config.useEnglish
5353
settings_use_english_holder.setOnClickListener {
5454
settings_use_english.toggle()

0 commit comments

Comments
 (0)