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() {
|
||||
return getPath().endsWith(".gif");
|
||||
return getPath().toLowerCase().endsWith(".gif");
|
||||
}
|
||||
|
||||
public boolean isImage() {
|
||||
|
|
Loading…
Reference in New Issue