From b9285102073b9fd8c5c292d2907f41ba99b453f0 Mon Sep 17 00:00:00 2001 From: M66B Date: Wed, 3 Feb 2016 07:04:00 +0100 Subject: [PATCH] Rename menu --- app/src/main/java/eu/faircode/netguard/RuleAdapter.java | 4 ++-- app/src/main/res/menu/access.xml | 4 ++-- app/src/main/res/values/strings.xml | 1 + 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/eu/faircode/netguard/RuleAdapter.java b/app/src/main/java/eu/faircode/netguard/RuleAdapter.java index 0d751a33..67ed24ac 100644 --- a/app/src/main/java/eu/faircode/netguard/RuleAdapter.java +++ b/app/src/main/java/eu/faircode/netguard/RuleAdapter.java @@ -543,9 +543,9 @@ public class RuleAdapter extends RecyclerView.Adapter 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; diff --git a/app/src/main/res/menu/access.xml b/app/src/main/res/menu/access.xml index 40d3fd21..fefd2e69 100644 --- a/app/src/main/res/menu/access.xml +++ b/app/src/main/res/menu/access.xml @@ -11,6 +11,6 @@ android:id="@+id/menu_block" android:title="@string/title_block" /> + android:id="@+id/menu_reset" + android:title="@string/menu_reset" /> diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 47dd1263..b3d46270 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -27,6 +27,7 @@ however it is impossible to guarantee NetGuard will work correctly on every devi PCAP enabled PCAP export Clear + Reset Defaults Block Wi-Fi