From bb66636ee45d448dce39f8e7f39302f1396728d1 Mon Sep 17 00:00:00 2001 From: crschnick Date: Sat, 20 Jun 2026 13:37:50 +0000 Subject: [PATCH] Fixes --- app/src/main/java/io/xpipe/app/core/AppCache.java | 2 +- dist/changelog/24.0.md | 2 ++ lang/strings/translations_en.properties | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/io/xpipe/app/core/AppCache.java b/app/src/main/java/io/xpipe/app/core/AppCache.java index b8df93ebb..4f7866c0c 100644 --- a/app/src/main/java/io/xpipe/app/core/AppCache.java +++ b/app/src/main/java/io/xpipe/app/core/AppCache.java @@ -62,7 +62,7 @@ public class AppCache { public static T getNonNullMapEntry(String key, String mapKey, JavaType type, Supplier notPresent) { var mapType = TypeFactory.defaultInstance().constructMapLikeType(Map.class, TypeFactory.defaultInstance().constructType(String.class), type); Map map = getNonNull(key, mapType, () -> null); - if (map != null) { + if (map != null && map.containsKey(mapKey)) { return map.get(mapKey); } else { return notPresent.get(); diff --git a/dist/changelog/24.0.md b/dist/changelog/24.0.md index fbbc81f7e..eb2cb8564 100644 --- a/dist/changelog/24.0.md +++ b/dist/changelog/24.0.md @@ -29,6 +29,8 @@ The latest release of the [apple container runtime](https://github.com/apple/con - There are now multiple new UI themes available for you to choose from - The API endpoints for /connection/... have been renamed to /store/... - Add option to reinstall XPipe on Windows if an incremental update fails +- The network scan dialog now supports choosing the broadcast address +- File transfers in SFTP sessions now show the progress and speed ## Fixes diff --git a/lang/strings/translations_en.properties b/lang/strings/translations_en.properties index f736890b4..118a08af6 100644 --- a/lang/strings/translations_en.properties +++ b/lang/strings/translations_en.properties @@ -1716,7 +1716,7 @@ useAsGatewayDescription=Whether to use the target host as a gateway for the crea resolveIpAddresses=Resolve IP addresses resolveIpAddressesDescription=Resolve found IPs to DNS names by using reverse DNS lookup networkScanType=Connection type -networkScanTypeDescription=The type and ports of servers to look for +networkScanTypeDescription=The connection type and associated ports to look for networkScanBroadcastAddress=Broadcast address networkScanBroadcastAddressDescription=The address to ping to populate the available devices list emptyDirectory=This directory looks to be empty