mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2025-08-03 19:36:53 -04:00
update
This commit is contained in:
parent
6463955afa
commit
43c8234675
@ -309,7 +309,7 @@ public final class VersionsPage extends BorderPane implements WizardPage, Refres
|
|||||||
public void refresh() {
|
public void refresh() {
|
||||||
VersionList<?> currentVersionList = versionList;
|
VersionList<?> currentVersionList = versionList;
|
||||||
root.setContent(spinner, ContainerAnimations.FADE);
|
root.setContent(spinner, ContainerAnimations.FADE);
|
||||||
executor = currentVersionList.refreshAsync(gameVersion).whenComplete(Schedulers.io(), (result, exception) -> {
|
executor = currentVersionList.refreshAsync(gameVersion).whenComplete(Schedulers.defaultScheduler(), (result, exception) -> {
|
||||||
if (exception == null) {
|
if (exception == null) {
|
||||||
List<RemoteVersion> items = loadVersions();
|
List<RemoteVersion> items = loadVersions();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user