mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-11-15 03:31:15 +03:00
[FIX] Downloader callback bad API
This commit is contained in:
parent
5886d1ac48
commit
1b81d5956c
1 changed files with 2 additions and 0 deletions
|
@ -11,6 +11,8 @@
|
||||||
public class Downloader {
|
public class Downloader {
|
||||||
public interface DownloadCallback {
|
public interface DownloadCallback {
|
||||||
void apply(long fullDiff);
|
void apply(long fullDiff);
|
||||||
|
|
||||||
|
void onComplete(Path path);
|
||||||
}
|
}
|
||||||
|
|
||||||
private final CompletableFuture<Void> future;
|
private final CompletableFuture<Void> future;
|
||||||
|
|
Loading…
Reference in a new issue