aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res
diff options
context:
space:
mode:
authorSam Whited <sam@samwhited.com>2015-01-15 19:08:12 -0500
committeriNPUTmice <daniel@gultsch.de>2015-01-21 13:07:36 +0100
commit764ef3c8cdebe0bd189a7d7c1031bb25dafa5f15 (patch)
tree229837b73eef1d04b73e7f5d7143f3d69437549a /src/main/res
parent818c0e609cb822cb67af1b0ec9166ef4d6eca29c (diff)
Add block/unblock to contact details menu
See #889
Diffstat (limited to '')
-rw-r--r--src/main/res/menu/contact_details.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/main/res/menu/contact_details.xml b/src/main/res/menu/contact_details.xml
index ce9028aa..ba8889d8 100644
--- a/src/main/res/menu/contact_details.xml
+++ b/src/main/res/menu/contact_details.xml
@@ -17,6 +17,19 @@
android:id="@+id/action_show_qr_code"
android:title="@string/show_qr_code"
android:showAsAction="never" />
+
+ <item
+ android:id="@+id/action_block"
+ android:orderInCategory="72"
+ android:showAsAction="never"
+ android:title="@string/action_block_contact"/>
+
+ <item
+ android:id="@+id/action_unblock"
+ android:orderInCategory="73"
+ android:showAsAction="never"
+ android:title="@string/action_unblock_contact"/>
+
<item
android:id="@+id/action_accounts"
android:orderInCategory="90"