diff --git a/Telegram/SourceFiles/settings/settings_advanced.cpp b/Telegram/SourceFiles/settings/settings_advanced.cpp index a0afa2259..fbc10af8d 100644 --- a/Telegram/SourceFiles/settings/settings_advanced.cpp +++ b/Telegram/SourceFiles/settings/settings_advanced.cpp @@ -165,8 +165,8 @@ void SetupUpdate(not_null container) { checker.start(); } else { checker.stop(); + setDefaultStatus(checker); } - setDefaultStatus(checker); }, toggle->lifetime()); if (install) { @@ -184,7 +184,6 @@ void SetupUpdate(not_null container) { cSetLastUpdateCheck(0); } checker.start(); - setDefaultStatus(checker); }, toggle->lifetime()); }