aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authorSam Whited <sam@samwhited.com>2014-12-23 17:12:52 -0500
committerSam Whited <sam@samwhited.com>2014-12-23 17:12:52 -0500
commit8a467e33dd7212fc3926b6fed2ae64fcb57e7f60 (patch)
tree35e847e4510e25d120ba9af6797834555319fbd9 /src/main/java
parent7c02677531e21d18bbf37c0aa5108efa7d979c92 (diff)
Don't show menu on create account screen
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/eu/siacs/conversations/ui/EditAccountActivity.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/eu/siacs/conversations/ui/EditAccountActivity.java b/src/main/java/eu/siacs/conversations/ui/EditAccountActivity.java
index 07e06b75..e9c11d88 100644
--- a/src/main/java/eu/siacs/conversations/ui/EditAccountActivity.java
+++ b/src/main/java/eu/siacs/conversations/ui/EditAccountActivity.java
@@ -329,11 +329,14 @@ public class EditAccountActivity extends XmppActivity implements OnAccountUpdate
getMenuInflater().inflate(R.menu.editaccount, menu);
final MenuItem showQrCode = menu.findItem(R.id.action_show_qr_code);
final MenuItem showBlocklist = menu.findItem(R.id.action_show_block_list);
+ final MenuItem showMoreInfo = menu.findItem(R.id.action_server_info_show_more);
if (mAccount == null) {
showQrCode.setVisible(false);
showBlocklist.setVisible(false);
+ showMoreInfo.setVisible(false);
} else if (mAccount.getStatus() != Account.State.ONLINE || !mAccount.getXmppConnection().getFeatures().blocking()) {
showBlocklist.setVisible(false);
+ showMoreInfo.setVisible(false);
}
return true;
}