mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Fix saving tray "Toggle notifications" on relaunch.
Fixes https://bugs.telegram.org/c/9509
This commit is contained in:
parent
eaa4c5e5b1
commit
cf76933352
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue