Prevent crash

This commit is contained in:
M66B 2022-06-05 11:16:40 +02:00
parent 107ba6d819
commit 93a68f19c7
1 changed files with 3 additions and 0 deletions

View File

@ -5231,6 +5231,9 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
}
private void onActionMove(TupleMessageEx message, final boolean copy, long account, long[] disabled) {
if (parentFragment == null)
return;
Bundle args = new Bundle();
args.putString("title", context.getString(copy ? R.string.title_copy_to : R.string.title_move_to_folder));
args.putLong("account", account);