From bbe13ef7905ee00aba828a56cf8a1b65dc4b7096 Mon Sep 17 00:00:00 2001 From: M66B Date: Sun, 24 May 2020 19:38:53 +0200 Subject: [PATCH] Prevent crash --- app/src/main/java/eu/faircode/email/FragmentCompose.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/FragmentCompose.java b/app/src/main/java/eu/faircode/email/FragmentCompose.java index 6b6792d18a..5b40868be8 100644 --- a/app/src/main/java/eu/faircode/email/FragmentCompose.java +++ b/app/src/main/java/eu/faircode/email/FragmentCompose.java @@ -4113,7 +4113,7 @@ public class FragmentCompose extends FragmentBase { identity != null && identity.sender_extra) args.putBoolean("remind_extra", true); - if (pgpService.isBound() && + if (pgpService != null && pgpService.isBound() && (draft.ui_encrypt == null || EntityMessage.ENCRYPT_NONE.equals(draft.ui_encrypt))) { List
recipients = new ArrayList<>();