2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Returned lost method that checks tray existence.

This commit is contained in:
23rd
2022-06-23 08:29:11 +03:00
parent ce39eb2da9
commit 57f769f358
9 changed files with 35 additions and 7 deletions

View File

@@ -903,7 +903,7 @@ Core::WindowPosition MainWindow::SecondaryInitPosition() {
}
bool MainWindow::minimizeToTray() {
if (Core::Quitting()/* || !hasTrayIcon()*/) {
if (Core::Quitting() || !Core::App().tray().has()) {
return false;
}