|
@@ -68,8 +68,6 @@ public class TrayMenuBuilder {
|
|
|
|
|
|
try (var image = getClass().getResourceAsStream(SystemUtils.IS_OS_MAC_OSX ? TRAY_ICON_MAC : TRAY_ICON)) {
|
|
|
trayMenu.showTrayIcon(image.readAllBytes(), this::showMainWindow, "Cryptomator");
|
|
|
- SystemTray tray = SystemTray.getSystemTray();
|
|
|
- TrayIcon trayIcon = tray.getTrayIcons()[0];
|
|
|
trayMenu.onBeforeShow(() -> {
|
|
|
for (Vault vault : vaults) {
|
|
|
VaultListManager.redetermineVaultState(vault);
|