mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-01 12:44:42 +00:00
Prevent NPE
This commit is contained in:
parent
99da99dfb9
commit
cc4bee7c39
1 changed files with 1 additions and 0 deletions
|
@ -274,6 +274,7 @@ public class ActivityCompose extends ActivityBase implements FragmentManager.OnB
|
|||
boolean attach_new = prefs.getBoolean("attach_new", true);
|
||||
|
||||
if (!attach_new && !create &&
|
||||
args != null &&
|
||||
args.size() == 1 &&
|
||||
(args.containsKey("to") ||
|
||||
args.containsKey("attachments"))) {
|
||||
|
|
Loading…
Reference in a new issue