主题文件列表排序

pull/146/head
ruibaby 2019-04-11 21:14:40 +08:00
parent adabcedb5a
commit 7c3d795cd4
1 changed files with 2 additions and 2 deletions

View File

@ -349,8 +349,8 @@ public class ThemeServiceImpl implements ThemeService {
themeFiles.add(themeFile);
});
// Sort with name
themeFiles.sort(Comparator.comparing(ThemeFile::getName));
// Sort with isFile param
themeFiles.sort(Comparator.comparing(ThemeFile::getIsFile));
return themeFiles;
} catch (IOException e) {