From 70ba263ec4d818062a671c69d452aab3fc79f41f Mon Sep 17 00:00:00 2001 From: crschnick Date: Mon, 8 Jul 2024 09:14:42 +0000 Subject: [PATCH] Small fixes --- app/src/main/resources/io/xpipe/app/resources/style/browser.css | 1 + core/src/main/java/io/xpipe/core/store/NetworkTunnelStore.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/resources/io/xpipe/app/resources/style/browser.css b/app/src/main/resources/io/xpipe/app/resources/style/browser.css index 244bc93d4..6fd8e80b1 100644 --- a/app/src/main/resources/io/xpipe/app/resources/style/browser.css +++ b/app/src/main/resources/io/xpipe/app/resources/style/browser.css @@ -25,6 +25,7 @@ .transfer:highlighted > * { -fx-border-color: -color-accent-emphasis; + -fx-background-color: derive(-color-bg-subtle, 5%); } .transfer .button { diff --git a/core/src/main/java/io/xpipe/core/store/NetworkTunnelStore.java b/core/src/main/java/io/xpipe/core/store/NetworkTunnelStore.java index 9a68d3023..4abbab803 100644 --- a/core/src/main/java/io/xpipe/core/store/NetworkTunnelStore.java +++ b/core/src/main/java/io/xpipe/core/store/NetworkTunnelStore.java @@ -60,7 +60,7 @@ public interface NetworkTunnelStore extends DataStore { default NetworkTunnelSession sessionChain(int local, int remotePort) throws Exception { if (!isLocallyTunneable()) { - throw new IllegalStateException(); + throw new IllegalStateException("Unable to create tunnel chain as one intermediate system does not support tunneling"); } var running = new AtomicBoolean();