mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Move session settings to main_session_settings.
This commit is contained in:
@@ -810,7 +810,7 @@ void MainWindow::toggleDisplayNotifyFromTray() {
|
||||
Global::SetRestoreFlashBounceNotifyFromTray(false);
|
||||
}
|
||||
}
|
||||
account().local().writeSettings();
|
||||
account().session().saveSettings();
|
||||
using Change = Window::Notifications::ChangeType;
|
||||
auto &changes = account().session().notifications().settingsChanged();
|
||||
changes.notify(Change::DesktopEnabled);
|
||||
|
Reference in New Issue
Block a user