tobiasKaminsky 8 жил өмнө
parent
commit
97059873f1

+ 3 - 0
src/com/owncloud/android/ui/activity/ReceiveExternalFilesActivity.java

@@ -611,6 +611,9 @@ public class ReceiveExternalFilesActivity extends FileActivity
     private void onCreateFolderOperationFinish(CreateFolderOperation operation,
                                                RemoteOperationResult result) {
         if (result.isSuccess()) {
+            String remotePath = operation.getRemotePath().substring(0, operation.getRemotePath().length() - 1);
+            String newFolder = remotePath.substring(remotePath.lastIndexOf("/") + 1);
+            mParents.push(newFolder);
             populateDirectoryList();
         } else {
             try {