fix: Unp4kCModel

This commit is contained in:
xkeyC 2024-05-01 15:28:32 +08:00
parent 4ebd7b70dc
commit 37b584d85b

View File

@ -139,7 +139,7 @@ class Unp4kCModel extends _$Unp4kCModel {
const imgExt = [".png"];
String openType = "unknown";
for (var element in textExt) {
if (filePath.endsWith(element)) {
if (filePath.toLowerCase().endsWith(element)) {
openType = "text";
}
}