From c0b7590a039837b1ee174fa1853d3fd67549a8d8 Mon Sep 17 00:00:00 2001 From: tobiasKaminsky Date: Sat, 27 Jun 2015 21:51:49 +0200 Subject: [PATCH] enable video thumbnail --- src/com/owncloud/android/ui/adapter/FileListListAdapter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/owncloud/android/ui/adapter/FileListListAdapter.java b/src/com/owncloud/android/ui/adapter/FileListListAdapter.java index c6ea0344d1..6c677988e6 100644 --- a/src/com/owncloud/android/ui/adapter/FileListListAdapter.java +++ b/src/com/owncloud/android/ui/adapter/FileListListAdapter.java @@ -294,7 +294,7 @@ public class FileListListAdapter extends BaseAdapter implements ListAdapter { // No Folder if (!file.isFolder()) { - if (file.isImage() && file.getRemoteId() != null){ + if ((file.isImage() || file.isVideo()) && file.getRemoteId() != null){ // Thumbnail in Cache? Bitmap thumbnail = ThumbnailsCacheManager.getBitmapFromDiskCache( String.valueOf(file.getRemoteId())