mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Fixed display of update checking when autoupdate is toggled.
This commit is contained in:
@@ -165,8 +165,8 @@ void SetupUpdate(not_null<Ui::VerticalLayout*> container) {
|
||||
checker.start();
|
||||
} else {
|
||||
checker.stop();
|
||||
setDefaultStatus(checker);
|
||||
}
|
||||
setDefaultStatus(checker);
|
||||
}, toggle->lifetime());
|
||||
|
||||
if (install) {
|
||||
@@ -184,7 +184,6 @@ void SetupUpdate(not_null<Ui::VerticalLayout*> container) {
|
||||
cSetLastUpdateCheck(0);
|
||||
}
|
||||
checker.start();
|
||||
setDefaultStatus(checker);
|
||||
}, toggle->lifetime());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user