Prevent crash

pull/178/head
M66B 5 years ago
parent c63f2320da
commit bbe13ef790

@ -4113,7 +4113,7 @@ public class FragmentCompose extends FragmentBase {
identity != null && identity.sender_extra) identity != null && identity.sender_extra)
args.putBoolean("remind_extra", true); args.putBoolean("remind_extra", true);
if (pgpService.isBound() && if (pgpService != null && pgpService.isBound() &&
(draft.ui_encrypt == null || (draft.ui_encrypt == null ||
EntityMessage.ENCRYPT_NONE.equals(draft.ui_encrypt))) { EntityMessage.ENCRYPT_NONE.equals(draft.ui_encrypt))) {
List<Address> recipients = new ArrayList<>(); List<Address> recipients = new ArrayList<>();

Loading…
Cancel
Save