From be5eefb9a69b0de343429f6bddf12d2cf7d97ed3 Mon Sep 17 00:00:00 2001 From: tibbi Date: Sun, 9 Oct 2016 18:36:04 +0200 Subject: [PATCH] check case when checking gif files --- .../main/java/com/simplemobiletools/gallery/models/Medium.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/simplemobiletools/gallery/models/Medium.java b/app/src/main/java/com/simplemobiletools/gallery/models/Medium.java index c4e69063b..73205fe7c 100644 --- a/app/src/main/java/com/simplemobiletools/gallery/models/Medium.java +++ b/app/src/main/java/com/simplemobiletools/gallery/models/Medium.java @@ -36,7 +36,7 @@ public class Medium implements Serializable, Comparable { } public boolean isGif() { - return getPath().endsWith(".gif"); + return getPath().toLowerCase().endsWith(".gif"); } public boolean isImage() {