mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Fix saving tray "Toggle notifications" on relaunch.
Fixes https://bugs.telegram.org/c/9509
This commit is contained in:
@@ -779,7 +779,7 @@ void MainWindow::toggleDisplayNotifyFromTray() {
|
||||
settings.setRememberedFlashBounceNotifyFromTray(false);
|
||||
}
|
||||
}
|
||||
account().session().saveSettings();
|
||||
Core::App().saveSettingsDelayed();
|
||||
using Change = Window::Notifications::ChangeType;
|
||||
auto ¬ifications = Core::App().notifications();
|
||||
notifications.notifySettingsChanged(Change::DesktopEnabled);
|
||||
|
||||
Reference in New Issue
Block a user