Remove the UI::EventReturn return values. Makes editing the UI nicer.

This commit is contained in:
Henrik Rydgård committed 2025-09-15 11:09:00 -06:00
1 parent 730fd4754e
commit 58456ae950
62 files changed
+516 -935

No files matched your search

-3
View File
@@ -63,14 +63,12 @@ void IAPScreen::CreateViews() {
WARN_LOG(Log::System, "Purchase failed or cancelled!");
});
// TODO: What do we do here?
return UI::EVENT_DONE;
});
}
Choice *moreInfo = rightColumnItems->Add(new Choice(di->T("More info")));
moreInfo->OnClick.Add([](UI::EventParams &) {
System_LaunchUrl(LaunchUrlType::BROWSER_URL, "https://www.ppsspp.org/buygold_ios");
return UI::EVENT_DONE;
});
Choice *backButton = rightColumnItems->Add(new Choice(di->T("Back")));
@@ -89,7 +87,6 @@ void IAPScreen::CreateViews() {
}, []() {
WARN_LOG(Log::System, "Failed restoring purchases");
});
return UI::EVENT_DONE;
});
rightColumnItems->Add(restorePurchases);
}