mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-03 11:13:44 +01:00
Remove the UI::EventReturn return values. Makes editing the UI nicer.
This commit is contained in:
1 parent
730fd4754e
commit
58456ae950
62 files changed
+516
-935
No files matched your search
@@ -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);
|
||||
}
|
||||
Reference in new issue
Block a user