mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 23:28:42 +03:00
bugfix showing empty local folders as empty and not showing the parent folder in an empty folder
This commit is contained in:
parent
303b05a3a6
commit
2fafdcf9ca
1 changed files with 3 additions and 3 deletions
|
@ -327,7 +327,7 @@ public class FileStorageUtils {
|
|||
}
|
||||
});
|
||||
|
||||
File[] returnArray = new File[1];
|
||||
File[] returnArray = new File[files.size()];
|
||||
return files.toArray(returnArray);
|
||||
}
|
||||
|
||||
|
@ -386,7 +386,7 @@ public class FileStorageUtils {
|
|||
}
|
||||
});
|
||||
|
||||
File[] returnArray = new File[1];
|
||||
File[] returnArray = new File[files.size()];
|
||||
return files.toArray(returnArray);
|
||||
}
|
||||
|
||||
|
@ -436,7 +436,7 @@ public class FileStorageUtils {
|
|||
}
|
||||
});
|
||||
|
||||
File[] returnArray = new File[1];
|
||||
File[] returnArray = new File[files.size()];
|
||||
return files.toArray(returnArray);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue