When copy/move a file and creating a new folder we now go directly into this freshly created folder

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
tobiasKaminsky 2022-06-09 09:12:32 +02:00
parent 5538a5e734
commit 67cb25a603
No known key found for this signature in database
GPG key ID: 0E00D4D47D0C5AF7

View file

@ -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(