mirror of
https://ghfast.top/https://github.com/StarCitizenToolBox/app.git
synced 2025-06-28 12:34:45 +08:00
fix: Unp4kCModel
This commit is contained in:
@ -139,7 +139,7 @@ class Unp4kCModel extends _$Unp4kCModel {
|
|||||||
const imgExt = [".png"];
|
const imgExt = [".png"];
|
||||||
String openType = "unknown";
|
String openType = "unknown";
|
||||||
for (var element in textExt) {
|
for (var element in textExt) {
|
||||||
if (filePath.endsWith(element)) {
|
if (filePath.toLowerCase().endsWith(element)) {
|
||||||
openType = "text";
|
openType = "text";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user