🚩 完善文件图标支持

This commit is contained in:
gewuyou 2023-10-10 14:49:37 +08:00
parent e469b8ba89
commit c036127f36

View File

@ -158,7 +158,7 @@ public class FileUtil {
dirFileModel.getChildFile().add(childDirFileModel);
} else {
// todo 在此监测文件后缀设置对应的图标
dirFileModel.getChildFile().add(new DirFileModel(f.getAbsolutePath(), f.getName(), null, getIconCorrespondingToFileName(f.getName()), new FontIcon(FILE)));
dirFileModel.getChildFile().add(new DirFileModel(f.getAbsolutePath(), f.getName(), null, getIconCorrespondingToFileName(f.getName()), getIconCorrespondingToFileName(f.getName())));
}
}
}