mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 09:39:25 +03:00
fix #1259
This commit is contained in:
parent
f1cba47d40
commit
f7b73bff89
1 changed files with 3 additions and 3 deletions
|
@ -639,9 +639,9 @@ public class OCFileListFragment extends ExtendedListFragment {
|
|||
}
|
||||
case R.id.action_copy:
|
||||
Intent action = new Intent(getActivity(), FolderPickerActivity.class);
|
||||
|
||||
// Pass mTargetFile that contains info of selected file/folder
|
||||
action.putExtra(FolderPickerActivity.EXTRA_FILE, mTargetFile);
|
||||
ArrayList files = new ArrayList();
|
||||
files.add(mTargetFile);
|
||||
action.putExtra(FolderPickerActivity.EXTRA_FILES, files);
|
||||
getActivity().startActivityForResult(action, FileDisplayActivity.REQUEST_CODE__COPY_FILES);
|
||||
return true;
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue