From aaaf5ef7be0100db88d41b24b700a94eea7527b7 Mon Sep 17 00:00:00 2001 From: delvh Date: Thu, 22 Oct 2020 12:17:44 +0200 Subject: [PATCH] Fix TrayIcon colors --- client/src/main/java/envoy/client/ui/StatusTrayIcon.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/src/main/java/envoy/client/ui/StatusTrayIcon.java b/client/src/main/java/envoy/client/ui/StatusTrayIcon.java index 46a03b0..36b8522 100644 --- a/client/src/main/java/envoy/client/ui/StatusTrayIcon.java +++ b/client/src/main/java/envoy/client/ui/StatusTrayIcon.java @@ -188,7 +188,7 @@ public final class StatusTrayIcon implements EventListener { g.setColor(Color.GREEN); break; case AWAY: - g.setColor(Color.YELLOW); + g.setColor(Color.ORANGE); break; case BUSY: g.setColor(Color.RED); @@ -200,9 +200,9 @@ public final class StatusTrayIcon implements EventListener { // Draw total amount of unread messages, if any are present if (Chat.getTotalUnreadAmount().get() > 0) { - g.setColor(Color.RED); - g.fillOval(size.width / 2, 0, size.width / 2, size.height / 2); g.setColor(Color.BLACK); + g.fillOval(size.width / 2, 0, size.width / 2, size.height / 2); + g.setColor(Color.WHITE); g.drawString(String.valueOf(Chat.getTotalUnreadAmount().get()), size.width / 2, size.height / 2); }