mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-02-17 04:20:38 +01:00
check case when checking gif files
This commit is contained in:
parent
fc0b011d48
commit
be5eefb9a6
@ -36,7 +36,7 @@ public class Medium implements Serializable, Comparable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public boolean isGif() {
|
public boolean isGif() {
|
||||||
return getPath().endsWith(".gif");
|
return getPath().toLowerCase().endsWith(".gif");
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isImage() {
|
public boolean isImage() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user