mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-09-19 13:51:23 +00:00
Disable tray for linux
This commit is contained in:
parent
bbbd8f353a
commit
6fda1170b5
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue