mirror of
https://github.com/nextcloud/android.git
synced 2024-12-23 01:00:26 +03:00
enable video thumbnail
This commit is contained in:
parent
57991cb8c4
commit
c0b7590a03
1 changed files with 1 additions and 1 deletions
|
@ -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())
|
||||
|
|
Loading…
Reference in a new issue