Explorar o código

only set the currentpath to @ when it's not set before. Closes #14715

(cherry picked from commit 565cca09d6d4e367a6b4cb72282c1daecb4ae287)
Carola Nitz %!s(int64=10) %!d(string=hai) anos
pai
achega
afd71e08da
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      Sources/VLCCloudStorageTableViewController.m

+ 3 - 1
Sources/VLCCloudStorageTableViewController.m

@@ -182,7 +182,9 @@
     }
 
     //reload if we didn't come back from streaming
-    self.currentPath = @"";
+    if (self.currentPath == nil) {
+        self.currentPath = @"";
+    }
     if([self.controller.currentListFiles count] == 0)
         [self _requestInformationForCurrentPath];
 }