mirror of
https://github.com/geode-sdk/geode.git
synced 2025-03-31 07:10:28 -04:00
reenable ccrash popup and index update
This commit is contained in:
parent
ed2a36b2ff
commit
16b9689855
1 changed files with 3 additions and 6 deletions
|
@ -141,8 +141,6 @@ struct CustomMenuLayer : Modify<CustomMenuLayer, MenuLayer> {
|
|||
popup->show();
|
||||
}
|
||||
|
||||
// TODO: mat
|
||||
#if 0
|
||||
// show crash info
|
||||
static bool shownLastCrash = false;
|
||||
if (
|
||||
|
@ -154,12 +152,12 @@ struct CustomMenuLayer : Modify<CustomMenuLayer, MenuLayer> {
|
|||
auto popup = createQuickPopup(
|
||||
"Crashed",
|
||||
"It appears that the last session crashed. Would you like to "
|
||||
"send a <cy>crash report</c>?",
|
||||
"open the <cy>crashlog folder</c>?",
|
||||
"No",
|
||||
"Send",
|
||||
"Yes",
|
||||
[](auto, bool btn2) {
|
||||
if (btn2) {
|
||||
geode::openIssueReportPopup(Mod::get());
|
||||
file::openFolder(dirs::getCrashlogsDir());
|
||||
}
|
||||
},
|
||||
false
|
||||
|
@ -183,7 +181,6 @@ struct CustomMenuLayer : Modify<CustomMenuLayer, MenuLayer> {
|
|||
}
|
||||
|
||||
this->addUpdateIndicator();
|
||||
#endif
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue