mirror of https://github.com/M66B/NetGuard.git
Disabled malware protection
This commit is contained in:
parent
f640f2f191
commit
6e3657b58f
|
@ -844,6 +844,8 @@ public class ActivityMain extends AppCompatActivity implements SharedPreferences
|
|||
public boolean onPrepareOptionsMenu(Menu menu) {
|
||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this);
|
||||
|
||||
menu.findItem(R.id.menu_malware).setVisible(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_system).setChecked(prefs.getBoolean("show_system", false));
|
||||
|
|
Loading…
Reference in New Issue