Skip to content
Snippets Groups Projects
Commit b0ea32c8 authored by Torsten Grote's avatar Torsten Grote
Browse files

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

Hide testing preferences in release builds

See merge request akwizgran/briar!808
parents f66244b5 651e0b98
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment