1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-04 06:20:26 +00:00

Prevent crash

This commit is contained in:
M66B 2022-02-12 07:53:33 +01:00
parent ed6cbba698
commit 44317fa0b9

View file

@ -4898,7 +4898,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
private void onMenuDeleteSearch() {
Bundle args = new Bundle();
args.putLong("id", criteria.id);
args.putLong("id", criteria == null ? -1 : criteria.id);
new SimpleTask<Void>() {
@Override