mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-04-19 07:15:54 -04:00
Add alternative icon for linux
This commit is contained in:
parent
8149611e0b
commit
8e05b4446c
@ -42,6 +42,8 @@ public class SystemTray {
|
||||
|
||||
private static final String ICON_HI_RES = "/images/system_tray_icon@2x.png";
|
||||
private static final String ICON_LO_RES = "/images/system_tray_icon.png";
|
||||
private static final String ICON_ALT = "/system_tray_icon_alt.png";
|
||||
|
||||
|
||||
private static final String SHOW_WINDOW_LABEL = "Show exchange window";
|
||||
private static final String HIDE_WINDOW_LABEL = "Hide exchange window";
|
||||
@ -81,7 +83,7 @@ public class SystemTray {
|
||||
if (Utilities.isOSX())
|
||||
path = ImageUtil.isRetina() ? ICON_HI_RES : ICON_LO_RES;
|
||||
else
|
||||
path = ICON_HI_RES;
|
||||
path = ICON_ALT;
|
||||
|
||||
try {
|
||||
BufferedImage trayIconImage = ImageIO.read(getClass().getResource(path));
|
||||
|
BIN
src/main/resources/images/system_tray_icon_alt.png
Normal file
BIN
src/main/resources/images/system_tray_icon_alt.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 10 KiB |
Loading…
x
Reference in New Issue
Block a user