Switch all NativeMessageReceived to System_PostUIMessage

This commit is contained in:
Henrik Rydgård committed 2023-07-06 17:26:02 +02:00
1 parent ac4506e389
commit 84fffec4f3
20 files changed
+94 -101

No files matched your search

+1 -1
View File
@@ -1375,7 +1375,7 @@ UI::EventReturn MainScreen::OnLoadFile(UI::EventParams &e) {
if (System_GetPropertyBool(SYSPROP_HAS_FILE_BROWSER)) {
auto mm = GetI18NCategory(I18NCat::MAINMENU);
System_BrowseForFile(mm->T("Load"), BrowseFileType::BOOTABLE, [](const std::string &value, int) {
NativeMessageReceived("boot", value.c_str());
System_PostUIMessage("boot", value.c_str());
});
}
return UI::EVENT_DONE;