1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-01 12:44:42 +00:00

Fixed crash

This commit is contained in:
M66B 2021-09-26 10:55:19 +02:00
parent d4f98a094f
commit 18b837e779

View file

@ -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));