mirror of
https://github.com/M66B/NetGuard.git
synced 2024-12-27 02:09:41 +00:00
parent
6f51464651
commit
48bafdcf00
1 changed files with 3 additions and 2 deletions
|
@ -339,13 +339,14 @@ public class ActivitySettings extends AppCompatActivity implements SharedPrefere
|
|||
}
|
||||
|
||||
// Development
|
||||
Preference pref_show_resolved = screen.findPreference("show_resolved");
|
||||
if (!(Util.isDebuggable(this) || Util.getSelfVersionName(this).contains("beta"))) {
|
||||
screen.removePreference(cat_development);
|
||||
prefs.edit().remove("loglevel").apply();
|
||||
}
|
||||
} else if (!Util.isDebuggable(this))
|
||||
cat_development.removePreference(pref_show_resolved);
|
||||
|
||||
// Show resolved
|
||||
Preference pref_show_resolved = screen.findPreference("show_resolved");
|
||||
pref_show_resolved.setOnPreferenceClickListener(new Preference.OnPreferenceClickListener() {
|
||||
@Override
|
||||
public boolean onPreferenceClick(Preference preference) {
|
||||
|
|
Loading…
Reference in a new issue