Allow copy from read-only folders

This commit is contained in:
M66B 2021-12-01 19:25:37 +01:00
parent e80b21f4fd
commit 41c9f0e631
1 changed files with 4 additions and 4 deletions

View File

@ -3249,12 +3249,12 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
.setIcon(R.drawable.twotone_drive_file_move_24);
item.setIntent(new Intent().putExtra("account", account.id));
}
if (result.copyto != null)
popupMenu.getMenu().add(Menu.FIRST, R.string.title_copy_to, order++, R.string.title_copy_to)
.setIcon(R.drawable.twotone_file_copy_24);
}
if (result.copyto != null)
popupMenu.getMenu().add(Menu.FIRST, R.string.title_copy_to, order++, R.string.title_copy_to)
.setIcon(R.drawable.twotone_file_copy_24);
popupMenu.insertIcons(context);
popupMenu.setOnMenuItemClickListener(new PopupMenu.OnMenuItemClickListener() {