mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-04 06:20:26 +00:00
Prevent crash
This commit is contained in:
parent
ed6cbba698
commit
44317fa0b9
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue