Skip to content

Commit

Permalink
fix: style.
Browse files Browse the repository at this point in the history
  • Loading branch information
huanghongxun committed May 22, 2022
1 parent abd30c3 commit 10180a7
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -204,14 +204,14 @@ public void saveAs(RemoteMod.Version file) {
return;
}

Controllers.taskDialog(Task.composeAsync(() -> {
Controllers.taskDialog(
Task.composeAsync(() -> {
FileDownloadTask task = new FileDownloadTask(NetworkUtils.toURL(file.getFile().getUrl()), dest, file.getFile().getIntegrityCheck());
task.setName(file.getName());
return task;
}),
i18n("message.downloading"),
TaskCancellationAction.NORMAL
);
TaskCancellationAction.NORMAL);
}

@Override
Expand Down

0 comments on commit 10180a7

Please sign in to comment.