mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-12 16:06:15 +00:00
fix bug in isMediaThumbnailSupported
This commit is contained in:
parent
60ee20c9ef
commit
341fbf836c
@ -246,7 +246,7 @@ public class ImageUtils {
|
||||
} else {
|
||||
try {
|
||||
String mimeType = getFileTypeDetector().detect(file);
|
||||
if (StringUtils.isNotBlank(mimeTypePrefix) && mimeTypePrefix.startsWith(mimeTypePrefix)) {
|
||||
if (StringUtils.isNotBlank(mimeTypePrefix) && mimeType.startsWith(mimeTypePrefix)) {
|
||||
return true;
|
||||
}
|
||||
return supportedMimeTypes.contains(mimeType);
|
||||
|
Loading…
x
Reference in New Issue
Block a user