mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-02 15:35:51 +00:00
Fix macOS native notification callbacks.
This commit is contained in:
@@ -187,7 +187,7 @@ void MainWindow::firstShow() {
|
||||
trayIconMenu->addAction(notificationActionText, this, SLOT(toggleDisplayNotifyFromTray()))->setEnabled(true);
|
||||
trayIconMenu->addAction(lang(lng_quit_from_tray), this, SLOT(quitFromTray()))->setEnabled(true);
|
||||
}
|
||||
workmodeUpdated(Global::WorkMode().value());
|
||||
Global::RefWorkMode().setForced(Global::WorkMode().value(), true);
|
||||
|
||||
psFirstShow();
|
||||
updateTrayMenu();
|
||||
|
Reference in New Issue
Block a user