Explorar o código

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>
tobiasKaminsky %!s(int64=2) %!d(string=hai) anos
pai
achega
67cb25a603

+ 4 - 1
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(