From 6fda1170b5875e655923ecd7467ded08b0d7e757 Mon Sep 17 00:00:00 2001 From: crschnick Date: Thu, 25 Jul 2024 14:55:03 +0000 Subject: [PATCH] Disable tray for linux --- app/src/main/java/io/xpipe/app/core/mode/TrayMode.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/xpipe/app/core/mode/TrayMode.java b/app/src/main/java/io/xpipe/app/core/mode/TrayMode.java index 83bed40c9..fb1b0f799 100644 --- a/app/src/main/java/io/xpipe/app/core/mode/TrayMode.java +++ b/app/src/main/java/io/xpipe/app/core/mode/TrayMode.java @@ -11,7 +11,7 @@ public class TrayMode extends PlatformMode { @Override public boolean isSupported() { - return !OsType.getLocal().equals(OsType.MACOS) + return OsType.getLocal().equals(OsType.WINDOWS) && super.isSupported() && Desktop.isDesktopSupported() && SystemTray.isSupported();