diff options
author | Christian Schneppe <christian@pix-art.de> | 2019-07-17 20:45:52 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2019-07-17 20:45:52 +0200 |
commit | 1f77d6b8cd5cd91bbed953bcdf0038020f2173ae (patch) | |
tree | 224a5060abd5b02e000cefc16afebc20fa2849fb /src/main/java/de/pixart/messenger/ui | |
parent | f42d144a660ad1f89b6630e88704cad258bfabb9 (diff) |
prefer attachment in share intent if there is one
Diffstat (limited to 'src/main/java/de/pixart/messenger/ui')
-rw-r--r-- | src/main/java/de/pixart/messenger/ui/ShareWithActivity.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/ShareWithActivity.java b/src/main/java/de/pixart/messenger/ui/ShareWithActivity.java index 11c98d2b7..4cc97994d 100644 --- a/src/main/java/de/pixart/messenger/ui/ShareWithActivity.java +++ b/src/main/java/de/pixart/messenger/ui/ShareWithActivity.java @@ -119,7 +119,7 @@ public class ShareWithActivity extends XmppActivity implements XmppConnectionSer if (data != null && "geo".equals(data.getScheme())) { this.share.uris.clear(); this.share.uris.add(data); - } else if (type != null && uri != null && (text == null || !type.equals("text/plain"))) { + } else if (type != null && uri != null) { this.share.uris.clear(); this.share.uris.add(uri); } else { |