mirror of
https://github.com/nextcloud/android.git
synced 2024-11-28 02:17:43 +03:00
correct filtering of images
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
parent
b3356b9758
commit
dc2e8f9027
1 changed files with 1 additions and 1 deletions
|
@ -2182,7 +2182,7 @@ public class FileDataStorageManager {
|
|||
if (onlyImages) {
|
||||
List<OCFile> temp = new ArrayList<>();
|
||||
|
||||
for (OCFile file : temp) {
|
||||
for (OCFile file : ocFiles) {
|
||||
if (MimeTypeUtil.isImage(file)) {
|
||||
temp.add(file);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue