fixed 'share image' context menu

This commit is contained in:
iNPUTmice 2014-10-29 09:57:34 +01:00
parent bb26a84269
commit 64209829f7

View file

@ -361,8 +361,7 @@ public class ConversationFragment extends Fragment {
copyText.setVisible(false); copyText.setVisible(false);
} }
if (this.selectedMessage.getType() != Message.TYPE_IMAGE if (this.selectedMessage.getType() != Message.TYPE_IMAGE
|| (this.selectedMessage.getDownloadable() != null && this.selectedMessage || this.selectedMessage.getDownloadable() != null) {
.getDownloadable().getStatus() == Downloadable.STATUS_DELETED)) {
shareImage.setVisible(false); shareImage.setVisible(false);
} }
if (this.selectedMessage.getStatus() != Message.STATUS_SEND_FAILED) { if (this.selectedMessage.getStatus() != Message.STATUS_SEND_FAILED) {