2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Always make sure that settings are saved.

This commit is contained in:
John Preston
2021-02-17 19:19:00 +04:00
parent baccec623d
commit 70570e0987
2 changed files with 9 additions and 3 deletions

View File

@@ -368,7 +368,7 @@ private:
crl::time _shouldLockAt = 0;
base::Timer _autoLockTimer;
base::Timer _saveSettingsTimer;
std::optional<base::Timer> _saveSettingsTimer;
struct LeaveSubscription {
LeaveSubscription(