1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-21 13:47:04 +00:00

Prevent crash

This commit is contained in:
M66B 2019-12-01 12:47:21 +01:00
parent 0086dd99cc
commit 923e51f75e

View file

@ -1369,6 +1369,9 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
if ("cid".equals(uri.getScheme()) || "data".equals(uri.getScheme()))
return false;
if (parentFragment == null)
return false;
Bundle args = new Bundle();
args.putParcelable("uri", uri);
args.putString("title", null);