Fixed an issue where an ApplicationUpdater dialog did not have themed help prompts

This commit is contained in:
Leon Styhre 2023-07-31 20:35:30 +02:00
parent 8a7d371f3f
commit cd2181a8b5

View file

@ -354,8 +354,8 @@ void ViewController::updateAvailableDialog()
"THE UPGRADE.";
}
mWindow->pushGui(new GuiMsgBox(
HelpStyle(), upgradeMessage.c_str(), "OK", [] {}, "", nullptr, "", nullptr,
true, true,
getHelpStyle(), upgradeMessage.c_str(), "OK", [] {}, "", nullptr, "",
nullptr, true, true,
(mRenderer->getIsVerticalOrientation() ?
0.85f :
0.53f * (1.778f / mRenderer->getScreenAspectRatio()))));