Merge pull request #6218 from nextcloud/moveFails

Fix move/copy to root folder
This commit is contained in:
Andy Scherzinger 2020-06-05 08:59:35 +02:00 committed by GitHub
commit cad9e59435
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -428,7 +428,7 @@ public class FolderPickerActivity extends FileActivity implements FileFragment.C
ArrayList<Parcelable> targetFiles = i.getParcelableArrayListExtra(FolderPickerActivity.EXTRA_FILES);
Intent data = new Intent();
data.putExtra(EXTRA_FOLDER, getCurrentFolder());
data.putExtra(EXTRA_FOLDER, getListOfFilesFragment().getCurrentFile());
data.putParcelableArrayListExtra(EXTRA_FILES, targetFiles);
setResult(RESULT_OK, data);