diff --git a/app/src/main/java/eu/faircode/email/FragmentMessages.java b/app/src/main/java/eu/faircode/email/FragmentMessages.java index f883564b9b..f5ed41117c 100644 --- a/app/src/main/java/eu/faircode/email/FragmentMessages.java +++ b/app/src/main/java/eu/faircode/email/FragmentMessages.java @@ -5551,6 +5551,9 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences. db.endTransaction(); } + if (junkOnly == null) + junkOnly = false; + ActionData data = new ActionData(); data.delete = (trash == null || junkOnly || (account != null && account.protocol == EntityAccount.TYPE_POP));