From 47046d3d117428bb66c28a9f0718fbd90be6ade1 Mon Sep 17 00:00:00 2001 From: tibbi Date: Sun, 17 Dec 2017 12:27:11 +0100 Subject: [PATCH] properly fetch gif files --- .../com/simplemobiletools/gallery/helpers/MediaFetcher.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/helpers/MediaFetcher.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/helpers/MediaFetcher.kt index cce57aa36..e9b285d4e 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/helpers/MediaFetcher.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/helpers/MediaFetcher.kt @@ -258,7 +258,7 @@ class MediaFetcher(val context: Context) { val isVideo = if (isImage) false else filename.isVideoFast() val isGif = if (isImage || isVideo) false else filename.isGif() - if (!isImage && !isVideo) + if (!isImage && !isVideo && !isGif) continue if (isVideo && (isPickImage || filterMedia and VIDEOS == 0))