(iOS) Fixed a build issue

This commit is contained in:
Leon Styhre 2025-02-20 22:38:26 +01:00
parent 1b52f422c7
commit 739f6d3715

View file

@ -2137,6 +2137,7 @@ void GuiMenu::openOtherOptions()
applicationUpdaterFrequency->setCallback(applicationUpdaterFrequencyFunc);
#endif
#if !defined(__IOS__)
auto browsingEventsToggleFunc = [customEventScriptsBrowsing]() {
if (customEventScriptsBrowsing->getEnabled()) {
customEventScriptsBrowsing->setEnabled(false);
@ -2155,6 +2156,7 @@ void GuiMenu::openOtherOptions()
};
customEventScripts->setCallback(browsingEventsToggleFunc);
#endif
s->setSize(mSize);
mWindow->pushGui(s);