mirror of
https://mirror.ghproxy.com/https://github.com/StarCitizenToolBox/app.git
synced 2024-12-23 03:03:42 +08:00
fix: Unp4kCModel
This commit is contained in:
parent
4ebd7b70dc
commit
37b584d85b
@ -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";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user