David A. Velasco 9 жил өмнө
parent
commit
c8386e463a

+ 1 - 1
src/com/owncloud/android/ui/activity/FileDisplayActivity.java

@@ -271,7 +271,7 @@ OnSslUntrustedCertListener, OnEnforceableRefreshListener {
         mDirectories.clear();
         OCFile fileIt = file;
         String parentPath;
-        while(fileIt != null && !fileIt.getFileName().equals(OCFile.ROOT_PATH)) {
+        while(fileIt != null && !OCFile.ROOT_PATH.equals(fileIt.getFileName())) {
             if (fileIt.isFolder()) {
                 mDirectories.add(fileIt.getFileName());
             }