mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2024-12-21 07:00:22 +08:00
将初始化内容设定为“名称”排序 (#2054)
* 将初始化内容设定为“名称”排序 * 更新 RemoteModRepository.java
This commit is contained in:
parent
cf136fe7df
commit
f7526d4cdc
@ -118,7 +118,7 @@ public class DownloadListPage extends Control implements DecoratorPage, VersionP
|
||||
|
||||
if (!searchInitialized) {
|
||||
searchInitialized = true;
|
||||
search("", null, 0, "", RemoteModRepository.SortType.DATE_CREATED);
|
||||
search("", null, 0, "", RemoteModRepository.SortType.NAME);
|
||||
}
|
||||
|
||||
if (versionSelection) {
|
||||
|
@ -38,10 +38,10 @@ public interface RemoteModRepository {
|
||||
Type getType();
|
||||
|
||||
enum SortType {
|
||||
NAME,
|
||||
DATE_CREATED,
|
||||
POPULARITY,
|
||||
LAST_UPDATED,
|
||||
NAME,
|
||||
AUTHOR,
|
||||
TOTAL_DOWNLOADS
|
||||
}
|
||||
@ -89,7 +89,7 @@ public interface RemoteModRepository {
|
||||
}
|
||||
|
||||
String[] DEFAULT_GAME_VERSIONS = new String[]{
|
||||
"1.19.3", "1.19.2", "1.19.1", "1.19",
|
||||
"1.19.4", "1.19.3", "1.19.2", "1.19.1", "1.19",
|
||||
"1.18.2", "1.18.1", "1.18",
|
||||
"1.17.1", "1.17",
|
||||
"1.16.5", "1.16.4", "1.16.3", "1.16.2", "1.16.1", "1.16",
|
||||
|
Loading…
Reference in New Issue
Block a user