always show copy original url in context menu when url is available
This commit is contained in:
parent
0030bbf472
commit
5b42b392a1
|
@ -452,8 +452,7 @@ public class ConversationFragment extends Fragment implements EditMessage.Keyboa
|
||||||
if (m.getStatus() != Message.STATUS_SEND_FAILED) {
|
if (m.getStatus() != Message.STATUS_SEND_FAILED) {
|
||||||
sendAgain.setVisible(false);
|
sendAgain.setVisible(false);
|
||||||
}
|
}
|
||||||
if (((m.getType() != Message.TYPE_IMAGE && m.getDownloadable() == null)
|
if (!m.hasFileOnRemoteHost() && !GeoHelper.isGeoUri(m.getBody())) {
|
||||||
|| m.getImageParams().url == null) && !GeoHelper.isGeoUri(m.getBody())) {
|
|
||||||
copyUrl.setVisible(false);
|
copyUrl.setVisible(false);
|
||||||
}
|
}
|
||||||
if (m.getType() != Message.TYPE_TEXT
|
if (m.getType() != Message.TYPE_TEXT
|
||||||
|
|
Loading…
Reference in a new issue