mirror of https://github.com/M66B/NetGuard.git
Fixed default
This commit is contained in:
parent
931dd8006d
commit
d9f3b0e5cd
|
@ -535,7 +535,7 @@ public class ActivityMain extends AppCompatActivity implements SharedPreferences
|
||||||
|
|
||||||
if (prefs.getBoolean("manage_system", false)) {
|
if (prefs.getBoolean("manage_system", false)) {
|
||||||
menu.findItem(R.id.menu_app_user).setChecked(prefs.getBoolean("show_user", true));
|
menu.findItem(R.id.menu_app_user).setChecked(prefs.getBoolean("show_user", true));
|
||||||
menu.findItem(R.id.menu_app_system).setChecked(prefs.getBoolean("show_system", true));
|
menu.findItem(R.id.menu_app_system).setChecked(prefs.getBoolean("show_system", false));
|
||||||
} else {
|
} else {
|
||||||
Menu submenu = menu.findItem(R.id.menu_filter).getSubMenu();
|
Menu submenu = menu.findItem(R.id.menu_filter).getSubMenu();
|
||||||
submenu.removeItem(R.id.menu_app_user);
|
submenu.removeItem(R.id.menu_app_user);
|
||||||
|
|
Loading…
Reference in New Issue