diff options
author | Christian Schneppe <christian@pix-art.de> | 2017-03-09 19:34:43 +0100 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2017-03-09 19:34:43 +0100 |
commit | 521456c9487ce518e7a5c1268c96eeb3e031a7e3 (patch) | |
tree | 1f1e534128e4044b509623f93b510fe34f179ce9 /src/main/java/de/pixart/messenger | |
parent | e1ff6b02f53ef6fcd3732b78607beedd88da916a (diff) |
renamed enter jid menu item id
Diffstat (limited to 'src/main/java/de/pixart/messenger')
-rw-r--r-- | src/main/java/de/pixart/messenger/entities/Blockable.java | 10 | ||||
-rw-r--r-- | src/main/java/de/pixart/messenger/ui/BlocklistActivity.java | 4 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/main/java/de/pixart/messenger/entities/Blockable.java b/src/main/java/de/pixart/messenger/entities/Blockable.java index 9357f1cdb..f7484df8a 100644 --- a/src/main/java/de/pixart/messenger/entities/Blockable.java +++ b/src/main/java/de/pixart/messenger/entities/Blockable.java @@ -3,13 +3,13 @@ package de.pixart.messenger.entities; import de.pixart.messenger.xmpp.jid.Jid; public interface Blockable { - public boolean isBlocked(); + boolean isBlocked(); - public boolean isDomainBlocked(); + boolean isDomainBlocked(); - public Jid getBlockedJid(); + Jid getBlockedJid(); - public Jid getJid(); + Jid getJid(); - public Account getAccount(); + Account getAccount(); } diff --git a/src/main/java/de/pixart/messenger/ui/BlocklistActivity.java b/src/main/java/de/pixart/messenger/ui/BlocklistActivity.java index c1d388231..3f6a57381 100644 --- a/src/main/java/de/pixart/messenger/ui/BlocklistActivity.java +++ b/src/main/java/de/pixart/messenger/ui/BlocklistActivity.java @@ -67,14 +67,14 @@ public class BlocklistActivity extends AbstractSearchableListItemActivity implem @Override public boolean onCreateOptionsMenu(final Menu menu) { super.onCreateOptionsMenu(menu); - menu.findItem(R.id.action_add_contact).setVisible(true); + menu.findItem(R.id.action_block_jid).setVisible(true); return true; } @Override public boolean onOptionsItemSelected(MenuItem item) { switch (item.getItemId()) { - case R.id.action_add_contact: + case R.id.action_block_jid: showEnterJidDialog(); return true; } |