Skip to content
This repository was archived by the owner on May 4, 2023. It is now read-only.

Commit 553e402

Browse files
committed
Hide "Force english language" behind dev mode.
1 parent 1a71ae1 commit 553e402

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/src/main/java/com/fox2code/mmm/settings/SettingsActivity.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,9 @@ public void onCreatePreferences(Bundle savedInstanceState, String rootKey) {
8181
}
8282
return true;
8383
});
84+
if (!MainApplication.isDeveloper()) {
85+
forceEnglish.setVisible(false);
86+
}
8487
findPreference("pref_dns_over_https").setOnPreferenceChangeListener((p, v) -> {
8588
Http.setDoh((Boolean) v);
8689
return true;

0 commit comments

Comments
 (0)