Fixed display of update checking when autoupdate is toggled.

This commit is contained in:
23rd 2019-06-04 19:17:22 +03:00 committed by John Preston
parent dcdaee3db2
commit ed7a88ca17
1 changed files with 1 additions and 2 deletions

View File

@ -165,8 +165,8 @@ void SetupUpdate(not_null<Ui::VerticalLayout*> container) {
checker.start(); checker.start();
} else { } else {
checker.stop(); checker.stop();
setDefaultStatus(checker);
} }
setDefaultStatus(checker);
}, toggle->lifetime()); }, toggle->lifetime());
if (install) { if (install) {
@ -184,7 +184,6 @@ void SetupUpdate(not_null<Ui::VerticalLayout*> container) {
cSetLastUpdateCheck(0); cSetLastUpdateCheck(0);
} }
checker.start(); checker.start();
setDefaultStatus(checker);
}, toggle->lifetime()); }, toggle->lifetime());
} }