Disable tray for linux

This commit is contained in:
crschnick 2024-07-25 14:55:03 +00:00
parent bbbd8f353a
commit 6fda1170b5

View file

@ -11,7 +11,7 @@ public class TrayMode extends PlatformMode {
@Override @Override
public boolean isSupported() { public boolean isSupported() {
return !OsType.getLocal().equals(OsType.MACOS) return OsType.getLocal().equals(OsType.WINDOWS)
&& super.isSupported() && super.isSupported()
&& Desktop.isDesktopSupported() && Desktop.isDesktopSupported()
&& SystemTray.isSupported(); && SystemTray.isSupported();