Fix minimize to tray

This commit is contained in:
0xb00bface 2022-04-13 17:58:41 +02:00
parent 964f111a4b
commit 77b9737495
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
4.7.6
========================
* Fix minimize to tray
4.7.5
========================
* Add setting to show the number of active recordings in the tray

View File

@ -168,7 +168,7 @@ public class DesktopIntegration {
private static boolean createTrayIcon(Stage stage) {
if (SystemTray.isSupported()) {
boolean created = false;
boolean created = true;
if (trayIcon == null) {
trayIcon = new ctbrec.ui.TrayIcon(stage, recorder);
created = trayIcon.createTrayIcon();