aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristian Schneppe <kriztan@users.noreply.github.com>2017-03-15 12:20:01 +0100
committerGitHub <noreply@github.com>2017-03-15 12:20:01 +0100
commit13e3175e6860e26d0c0b84b8cc92726063cdd811 (patch)
tree4f8292cabd7ae1b1b49eb774c60a7b1a9ba1fd4f /src
parent71a026ebe3f1a91194b59ec037fbb265fa483980 (diff)
also hide actionbar share icon
in addition to fix for #125
Diffstat (limited to '')
-rw-r--r--src/main/java/de/pixart/messenger/ui/EditAccountActivity.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/EditAccountActivity.java b/src/main/java/de/pixart/messenger/ui/EditAccountActivity.java
index 7ea1326b2..359d24e31 100644
--- a/src/main/java/de/pixart/messenger/ui/EditAccountActivity.java
+++ b/src/main/java/de/pixart/messenger/ui/EditAccountActivity.java
@@ -571,6 +571,7 @@ 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 actionShare = menu.findItem(R.id.action_share);
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);
@@ -592,6 +593,7 @@ public class EditAccountActivity extends OmemoActivity implements OnAccountUpdat
changePassword.setVisible(false);
mamPrefs.setVisible(false);
changePresence.setVisible(false);
+ actionShare.setVisible(false);
shareBarcode.setVisible(false);
shareHttp.setVisible(false);
shareUri.setVisible(false);
@@ -1193,4 +1195,4 @@ public class EditAccountActivity extends OmemoActivity implements OnAccountUpdat
public void OnUpdateBlocklist(Status status) {
refreshUi();
}
-} \ No newline at end of file
+}