Commit b0ea32c8 authored by Torsten Grote's avatar Torsten Grote

Merge branch 'hide-testing-preferences' into 'master'

Hide testing preferences in release builds

See merge request akwizgran/briar!808
parents f66244b5 651e0b98
Pipeline #1553 passed with stage
in 10 minutes and 1 second
......@@ -157,6 +157,8 @@ public class SettingsFragment extends PreferenceFragmentCompat
}
);
} else {
findPreference("pref_key_explode").setVisible(false);
findPreference("pref_key_test_data").setVisible(false);
PreferenceGroup testing =
findPreference("pref_key_explode").getParent();
if (testing == null) throw new AssertionError();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment