From 685813863b326a98bb5871fd6e9f56b56343e15a Mon Sep 17 00:00:00 2001 From: crschnick Date: Thu, 26 Oct 2023 17:04:14 +0000 Subject: [PATCH] Small fixes [release] --- .../main/java/io/xpipe/app/comp/store/StoreSection.java | 8 ++++---- app/src/main/java/io/xpipe/app/core/AppTrayIcon.java | 2 +- dist/changelogs/1.7.2.md | 1 + version | 2 +- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/app/src/main/java/io/xpipe/app/comp/store/StoreSection.java b/app/src/main/java/io/xpipe/app/comp/store/StoreSection.java index 7d8732207..29cf83f14 100644 --- a/app/src/main/java/io/xpipe/app/comp/store/StoreSection.java +++ b/app/src/main/java/io/xpipe/app/comp/store/StoreSection.java @@ -118,10 +118,10 @@ private static StoreSection create( } var allChildren = BindingsHelper.filteredContentBinding(all, other -> { - if (true) return DataStorage.get() - .getDisplayParent(other.getEntry()) - .map(found -> found.equals(e.getEntry())) - .orElse(false); +// if (true) return DataStorage.get() +// .getDisplayParent(other.getEntry()) +// .map(found -> found.equals(e.getEntry())) +// .orElse(false); // This check is fast as the children are cached in the storage return DataStorage.get().getStoreChildren(e.getEntry()).contains(other.getEntry()); }); diff --git a/app/src/main/java/io/xpipe/app/core/AppTrayIcon.java b/app/src/main/java/io/xpipe/app/core/AppTrayIcon.java index 6d2c69e92..9b8e3f0b5 100644 --- a/app/src/main/java/io/xpipe/app/core/AppTrayIcon.java +++ b/app/src/main/java/io/xpipe/app/core/AppTrayIcon.java @@ -33,8 +33,8 @@ public AppTrayIcon() { var url = AppResources.getResourceURL(AppResources.XPIPE_MODULE, image).orElseThrow(); this.trayIcon = new TrayIcon(loadImageFromURL(url), App.getApp().getStage().getTitle(), popupMenu); - this.trayIcon.setImageAutoSize(false); this.trayIcon.setToolTip("XPipe"); + this.trayIcon.setImageAutoSize(true); { var open = new MenuItem(AppI18n.get("open")); diff --git a/dist/changelogs/1.7.2.md b/dist/changelogs/1.7.2.md index 28b47ea0a..b94aa1e9d 100644 --- a/dist/changelogs/1.7.2.md +++ b/dist/changelogs/1.7.2.md @@ -17,6 +17,7 @@ This one-time payment also makes it possible accept a lot more payment methods t ### Other changes +- Fix refresh of connections leading to an inconsistent state and some connections not being displayed - The CI pipeline is now fully automated including ARM builds for Linux and macOS - Improve startup time on Linux and macOS by skipping tray initialization - Add support for tray icon on newer Gnome desktop environments diff --git a/version b/version index 9379cbf03..0a182f2e3 100644 --- a/version +++ b/version @@ -1 +1 @@ -1.7.2-4 \ No newline at end of file +1.7.2 \ No newline at end of file