From 67cb25a603af7901a29a3201f5f6f97b2869d97c Mon Sep 17 00:00:00 2001 From: tobiasKaminsky Date: Thu, 9 Jun 2022 09:12:32 +0200 Subject: [PATCH] When copy/move a file and creating a new folder we now go directly into this freshly created folder Signed-off-by: tobiasKaminsky --- .../owncloud/android/ui/activity/FolderPickerActivity.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/com/owncloud/android/ui/activity/FolderPickerActivity.java b/app/src/main/java/com/owncloud/android/ui/activity/FolderPickerActivity.java index 5d0b0ad647..4065acf286 100644 --- a/app/src/main/java/com/owncloud/android/ui/activity/FolderPickerActivity.java +++ b/app/src/main/java/com/owncloud/android/ui/activity/FolderPickerActivity.java @@ -449,7 +449,10 @@ public class FolderPickerActivity extends FileActivity implements FileFragment.C ) { if (result.isSuccess()) { - refreshListOfFilesFragment(false); + OCFileListFragment fileListFragment = getListOfFilesFragment(); + if (fileListFragment != null) { + fileListFragment.onItemClicked(getStorageManager().getFileByPath(operation.getRemotePath())); + } } else { try { DisplayUtils.showSnackMessage(