mirror of https://github.com/M66B/NetGuard.git
parent
a6e438099c
commit
f1eaacde39
|
@ -346,7 +346,7 @@ public class ActivityLog extends AppCompatActivity implements SharedPreferences.
|
|||
case R.id.menu_pcap_enabled:
|
||||
item.setChecked(!item.isChecked());
|
||||
prefs.edit().putBoolean("pcap", item.isChecked()).apply();
|
||||
SinkholeService.setPcap(item.isChecked() ? pcap_file : null, false);
|
||||
SinkholeService.setPcap(item.isChecked() ? pcap_file : null, !pcap_file.exists());
|
||||
return true;
|
||||
|
||||
case R.id.menu_pcap_export:
|
||||
|
|
Loading…
Reference in New Issue