mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-02 23:55:12 +00: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