Apple container rework

This commit is contained in:
crschnick
2025-06-12 12:45:11 +00:00
parent d8a9a4aefb
commit ff6e690cd9

View File

@@ -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> state;
public SystemStateComp(State state) {
this.state = new ReadOnlyObjectWrapper<>(state);
}
public SystemStateComp(ObservableValue<State> state) {
this.state = state;
}