mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-07-31 05:30:23 +02:00
Fix misleading message about updates
Specifically, when TPT is actually configured at build time to ignore updates.
This commit is contained in:
@@ -355,7 +355,12 @@ OptionsView::OptionsView() : ui::Window(ui::Point(-1, -1), ui::Point(320, 340))
|
|||||||
}
|
}
|
||||||
currentY += 26;
|
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();
|
auto checked = autoStartupRequest->GetChecked();
|
||||||
if (checked)
|
if (checked)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user