diff options
author | Christian Schneppe <christian@pix-art.de> | 2018-08-03 23:25:49 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2018-08-03 23:25:49 +0200 |
commit | 2ba8db31de2f3c2af0334c035b8275aee2ff2920 (patch) | |
tree | 5e69201e5109310a6db1028cd75d14c316692af8 /src/main | |
parent | 89028200a109aad15bb17ce8cc19a8da52432004 (diff) |
temporarily hide message deletion in chat view
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/de/pixart/messenger/ui/ConversationFragment.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/ConversationFragment.java b/src/main/java/de/pixart/messenger/ui/ConversationFragment.java index 8ee0448ef..58f9441fa 100644 --- a/src/main/java/de/pixart/messenger/ui/ConversationFragment.java +++ b/src/main/java/de/pixart/messenger/ui/ConversationFragment.java @@ -1308,7 +1308,9 @@ public class ConversationFragment extends XmppFragment implements EditMessage.Ke if (!m.isFileOrImage() && !encrypted && !m.isGeoUri() && !m.treatAsDownloadable()) { copyMessage.setVisible(true); quoteMessage.setVisible(MessageUtils.prepareQuote(m).length() > 0); - deleteMessage.setVisible(true); + //temporarily hide single message deletion in chat view + deleteMessage.setVisible(false); + // deleteMessage.setVisible(true); String body = m.getMergedBody().toString(); if (ShareUtil.containsXmppUri(body)) { copyLink.setTitle(R.string.copy_jabber_id); |