Fix TrayIcon colors

This commit is contained in:
Leon Hofmeister 2020-10-22 12:17:44 +02:00
parent 98f59c1383
commit aaaf5ef7be
Signed by: delvh
GPG Key ID: 3DECE05F6D9A647C

View File

@ -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);
}