Fix misleading message about updates

Specifically, when TPT is actually configured at build time to ignore updates.
This commit is contained in:
Tamás Bálint Misius 2025-01-25 21:18:42 +01:00
parent 53230ee102
commit bdcc753dff
No known key found for this signature in database
GPG Key ID: 5B472A12F6ECA9F2

View File

@ -355,7 +355,12 @@ OptionsView::OptionsView() : ui::Window(ui::Point(-1, -1), ui::Point(320, 340))
}
currentY += 26;
}
autoStartupRequest = addCheckbox(0, "Fetch the message of the day and notifications at startup", "Also checks for updates", [this] {
String autoStartupRequestNote = "Done once at startup";
if (!IGNORE_UPDATES)
{
autoStartupRequestNote += ", also checks for updates";
}
autoStartupRequest = addCheckbox(0, "Fetch the message of the day and notifications", autoStartupRequestNote, [this] {
auto checked = autoStartupRequest->GetChecked();
if (checked)
{