This commit is contained in:
LZX committed 2026-09-23 18:36:36 +08:00
1 parent f99d09c7f6
commit deb510d4f5
12 files changed
+507 -32

No files matched your search

+4
View File
@@ -20,9 +20,13 @@ class FileIconUtils {
lowerName == '.gitmodules') {
return Icons.commit_outlined;
}
if (lowerName == 'pack.mcmeta') {
return Icons.inventory_2_outlined;
}
final ext = p.extension(name).toLowerCase();
return switch (ext) {
'.mcfunction' => Icons.integration_instructions_outlined,
'.dart' => Icons.flutter_dash,
'.html' || '.htm' => Icons.html,
'.css' || '.scss' || '.sass' || '.less' => Icons.css,