Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
bugfix showing empty local folders as empty and not showing the paren…
…t folder in an empty folder
  • Loading branch information
AndyScherzinger committed Sep 1, 2016
commit 2fafdcf9ca1cadbce203bfd4ca2a9dff5cff0853
6 changes: 3 additions & 3 deletions src/com/owncloud/android/utils/FileStorageUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ else if (o1.isDirectory()) {
}
});

File[] returnArray = new File[1];
File[] returnArray = new File[files.size()];
return files.toArray(returnArray);
}

Expand Down Expand Up @@ -386,7 +386,7 @@ else if (o1.isDirectory()) {
}
});

File[] returnArray = new File[1];
File[] returnArray = new File[files.size()];
return files.toArray(returnArray);
}

Expand Down Expand Up @@ -436,7 +436,7 @@ public int compare(File o1, File o2) {
}
});

File[] returnArray = new File[1];
File[] returnArray = new File[files.size()];
return files.toArray(returnArray);
}

Expand Down