diff --git a/app/src/main/java/io/xpipe/app/browser/BrowserTransferModel.java b/app/src/main/java/io/xpipe/app/browser/BrowserTransferModel.java index 816c6336e..4a89c7e07 100644 --- a/app/src/main/java/io/xpipe/app/browser/BrowserTransferModel.java +++ b/app/src/main/java/io/xpipe/app/browser/BrowserTransferModel.java @@ -190,12 +190,11 @@ public class BrowserTransferModel { } public ObservableBooleanValue downloadFinished() { - return Bindings.createBooleanBinding( - () -> { - return progress.getValue() != null - && progress.getValue().done(); - }, - progress); + synchronized (progress) { + return Bindings.createBooleanBinding(() -> { + return progress.getValue() != null && progress.getValue().done(); + }, progress); + } } } }