mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2025-09-10 04:16:02 -04:00
fix: Bootstrap launcher version does not need to be displayed on GameCrashWindow
This commit is contained in:
parent
7e2ab49f89
commit
c2c52e8747
@ -315,13 +315,15 @@ public class GameCrashWindow extends Stage {
|
|||||||
moddedPane.setAlignment(Pos.CENTER_LEFT);
|
moddedPane.setAlignment(Pos.CENTER_LEFT);
|
||||||
|
|
||||||
for (LibraryAnalyzer.LibraryType type : LibraryAnalyzer.LibraryType.values()) {
|
for (LibraryAnalyzer.LibraryType type : LibraryAnalyzer.LibraryType.values()) {
|
||||||
analyzer.getVersion(type).ifPresent(ver -> {
|
if (!type.getPatchId().isEmpty()) {
|
||||||
TwoLineListItem item = new TwoLineListItem();
|
analyzer.getVersion(type).ifPresent(ver -> {
|
||||||
item.getStyleClass().setAll("two-line-item-second-large");
|
TwoLineListItem item = new TwoLineListItem();
|
||||||
item.setTitle(i18n("install.installer." + type.getPatchId()));
|
item.getStyleClass().setAll("two-line-item-second-large");
|
||||||
item.setSubtitle(ver);
|
item.setTitle(i18n("install.installer." + type.getPatchId()));
|
||||||
moddedPane.getChildren().add(item);
|
item.setSubtitle(ver);
|
||||||
});
|
moddedPane.getChildren().add(item);
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user