This commit is contained in:
crschnick
2026-08-24 09:57:19 +00:00
parent 94ae780a00
commit 2f813d401c
5 changed files with 7 additions and 2 deletions
@@ -6,6 +6,7 @@ import io.xpipe.app.hub.action.HubLeafProvider;
import io.xpipe.app.platform.ClipboardHelper;
import io.xpipe.app.platform.LabelGraphic;
import io.xpipe.app.platform.MenuHelper;
import io.xpipe.app.platform.PlatformThread;
import io.xpipe.app.store.HostAddressStore;
import io.xpipe.app.util.*;
@@ -208,11 +209,11 @@ public interface StoreEntryBadge {
var busy = new SimpleBooleanProperty();
return of("mdi2s-server-network-outline", effective).withAction((wrapper, b) -> {
b.opacityProperty()
.bind(Bindings.createDoubleBinding(
.bind(PlatformThread.sync(Bindings.createDoubleBinding(
() -> {
return busy.get() ? 0.5 : 1.0;
},
busy));
busy)));
if (wrapper.getEntry().getStore() instanceof HostAddressStore has) {
if (busy.get()) {
Binary file not shown.

After

Width:  |  Height:  |  Size: 388 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 416 B

@@ -346,6 +346,7 @@
.store-entry-badge:hover {
-fx-background-color: -color-bg-default-transparent;
-fx-border-color: -color-accent-muted;
-fx-cursor: hand;
}
.root:nord .store-entry-badge {
+3
View File
@@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<path fill="#9ece6a" d="M0 0v24h12.8v-3.2h8V3.2h-3.2v1.6h1.6v14.4H4.8V4.8h8V1.6h9.6v20.8h-8V24H24V0Zm1.6 1.6h9.6v1.6h-8v8H1.6Zm0 11.2h1.6v8h8v1.6H1.6Z"/>
</svg>

After

Width:  |  Height:  |  Size: 226 B