aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2017-03-14 19:38:39 +0100
committerChristian Schneppe <christian@pix-art.de>2017-03-14 19:38:39 +0100
commite9336d8152734d122c989737360a77a0b57cbd3d (patch)
treec41ce37cd40cb1406805d7040627762f621b6663 /src/main/java
parentab01ae82a2ba4309309bc94dd33d616f18972c93 (diff)
don't show share icons on account creation
fixes #125
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/de/pixart/messenger/ui/EditAccountActivity.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/EditAccountActivity.java b/src/main/java/de/pixart/messenger/ui/EditAccountActivity.java
index 2dca58f09..7ea1326b2 100644
--- a/src/main/java/de/pixart/messenger/ui/EditAccountActivity.java
+++ b/src/main/java/de/pixart/messenger/ui/EditAccountActivity.java
@@ -571,6 +571,9 @@ public class EditAccountActivity extends OmemoActivity implements OnAccountUpdat
final MenuItem renewCertificate = menu.findItem(R.id.action_renew_certificate);
final MenuItem mamPrefs = menu.findItem(R.id.action_mam_prefs);
final MenuItem changePresence = menu.findItem(R.id.action_change_presence);
+ final MenuItem shareBarcode = menu.findItem(R.id.action_share_barcode);
+ final MenuItem shareHttp = menu.findItem(R.id.action_share_http);
+ final MenuItem shareUri = menu.findItem(R.id.action_share_uri);
renewCertificate.setVisible(mAccount != null && mAccount.getPrivateKeyAlias() != null);
if (mAccount != null && mAccount.isOnlineAndConnected()) {
@@ -589,6 +592,9 @@ public class EditAccountActivity extends OmemoActivity implements OnAccountUpdat
changePassword.setVisible(false);
mamPrefs.setVisible(false);
changePresence.setVisible(false);
+ shareBarcode.setVisible(false);
+ shareHttp.setVisible(false);
+ shareUri.setVisible(false);
}
if (mAccount != null) {