properly fetch gif files

This commit is contained in:
tibbi 2017-12-17 12:27:11 +01:00
parent bd0f540460
commit 47046d3d11
1 changed files with 1 additions and 1 deletions

View File

@ -258,7 +258,7 @@ class MediaFetcher(val context: Context) {
val isVideo = if (isImage) false else filename.isVideoFast() val isVideo = if (isImage) false else filename.isVideoFast()
val isGif = if (isImage || isVideo) false else filename.isGif() val isGif = if (isImage || isVideo) false else filename.isGif()
if (!isImage && !isVideo) if (!isImage && !isVideo && !isGif)
continue continue
if (isVideo && (isPickImage || filterMedia and VIDEOS == 0)) if (isVideo && (isPickImage || filterMedia and VIDEOS == 0))