fix: style.
This commit is contained in:
@@ -204,14 +204,14 @@ public class DownloadPage extends Control implements DecoratorPage {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
Controllers.taskDialog(Task.composeAsync(() -> {
|
Controllers.taskDialog(
|
||||||
|
Task.composeAsync(() -> {
|
||||||
FileDownloadTask task = new FileDownloadTask(NetworkUtils.toURL(file.getFile().getUrl()), dest, file.getFile().getIntegrityCheck());
|
FileDownloadTask task = new FileDownloadTask(NetworkUtils.toURL(file.getFile().getUrl()), dest, file.getFile().getIntegrityCheck());
|
||||||
task.setName(file.getName());
|
task.setName(file.getName());
|
||||||
return task;
|
return task;
|
||||||
}),
|
}),
|
||||||
i18n("message.downloading"),
|
i18n("message.downloading"),
|
||||||
TaskCancellationAction.NORMAL
|
TaskCancellationAction.NORMAL);
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user