properly fetch gif files
This commit is contained in:
parent
bd0f540460
commit
47046d3d11
|
@ -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))
|
||||||
|
|
Loading…
Reference in New Issue