Prevent crash

This commit is contained in:
M66B 2022-06-04 18:06:20 +02:00
parent 95a3932f8b
commit 88d9b30446
1 changed files with 3 additions and 0 deletions

View File

@ -1400,6 +1400,9 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
@Override
public void onClick(View v) {
MoreResult result = (MoreResult) cardMore.getTag();
if (result == null)
return;
if (result.accounts.size() == 1) {
for (EntityAccount account : result.accounts.keySet())
onActionMoveSelectionAccount(account.id, false, result.folders);