mirror of https://github.com/M66B/NetGuard.git
Rename menu
This commit is contained in:
parent
a3f9464554
commit
b928510207
|
@ -543,9 +543,9 @@ public class RuleAdapter extends RecyclerView.Adapter<RuleAdapter.ViewHolder> im
|
|||
dh.setAccess(id, rule.info.applicationInfo.uid, 1);
|
||||
SinkholeService.reload(null, "block host", context);
|
||||
return true;
|
||||
case R.id.menu_clear:
|
||||
case R.id.menu_reset:
|
||||
dh.setAccess(id, rule.info.applicationInfo.uid, -1);
|
||||
SinkholeService.reload(null, "clear host", context);
|
||||
SinkholeService.reload(null, "reset host", context);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
|
|
@ -11,6 +11,6 @@
|
|||
android:id="@+id/menu_block"
|
||||
android:title="@string/title_block" />
|
||||
<item
|
||||
android:id="@+id/menu_clear"
|
||||
android:title="@string/menu_clear" />
|
||||
android:id="@+id/menu_reset"
|
||||
android:title="@string/menu_reset" />
|
||||
</menu>
|
||||
|
|
|
@ -27,6 +27,7 @@ however it is impossible to guarantee NetGuard will work correctly on every devi
|
|||
<string name="menu_pcap_enabled">PCAP enabled</string>
|
||||
<string name="menu_pcap_export">PCAP export</string>
|
||||
<string name="menu_clear">Clear</string>
|
||||
<string name="menu_reset">Reset</string>
|
||||
|
||||
<string name="setting_defaults">Defaults</string>
|
||||
<string name="setting_whitelist_wifi">Block Wi-Fi</string>
|
||||
|
|
Loading…
Reference in New Issue