Fix issues with opening attachments

Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
Mario Danic 2019-07-25 18:52:39 +02:00
parent e1cdc58cef
commit 9ec0ad12a4

View File

@ -121,7 +121,6 @@ public class MagicPreviewMessageViewHolder extends MessageHolders.IncomingImageM
} else {
Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(message.getSelectedIndividualHashMap().get("link")));
browserIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
browserIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_DOCUMENT);
context.startActivity(browserIntent);
}
});