mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-21 13:47:04 +00:00
Prevent crash
This commit is contained in:
parent
0086dd99cc
commit
923e51f75e
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue