Skip to content

Commit

Permalink
Don't hide "block new apps" in whitelist mode
Browse files Browse the repository at this point in the history
The blocklist is still effective in whitelist mode
  • Loading branch information
emanuele-f committed Dec 1, 2022
1 parent 9eed9ed commit 8830456
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -189,11 +189,6 @@ public boolean onMenuItemSelected(@NonNull MenuItem item) {
}

private void reloadMode() {
boolean whitelist_mode = Prefs.isFirewallWhitelistMode(mPrefs);

if(mMenu != null)
mMenu.findItem(R.id.block_new_apps).setVisible(!whitelist_mode);

if(CaptureService.isServiceActive())
CaptureService.requireInstance().reloadFirewallWhitelist();

Expand Down

0 comments on commit 8830456

Please sign in to comment.