From ff6e690cd9f15fcb5dd98a3bde04a975f8decb7b Mon Sep 17 00:00:00 2001 From: crschnick Date: Thu, 12 Jun 2025 12:45:11 +0000 Subject: [PATCH] Apple container rework --- app/src/main/java/io/xpipe/app/hub/comp/SystemStateComp.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/src/main/java/io/xpipe/app/hub/comp/SystemStateComp.java b/app/src/main/java/io/xpipe/app/hub/comp/SystemStateComp.java index 587ac4c2c..0c7fe1510 100644 --- a/app/src/main/java/io/xpipe/app/hub/comp/SystemStateComp.java +++ b/app/src/main/java/io/xpipe/app/hub/comp/SystemStateComp.java @@ -5,6 +5,7 @@ import io.xpipe.app.util.BindingsHelper; import io.xpipe.app.util.PlatformThread; import io.xpipe.core.process.ShellStoreState; +import javafx.beans.property.ReadOnlyObjectWrapper; import javafx.beans.value.ObservableValue; import javafx.geometry.Pos; import javafx.scene.layout.Region; @@ -19,6 +20,10 @@ public class SystemStateComp extends SimpleComp { private final ObservableValue state; + public SystemStateComp(State state) { + this.state = new ReadOnlyObjectWrapper<>(state); + } + public SystemStateComp(ObservableValue state) { this.state = state; }