Add back to all Options

This commit is contained in:
HarukiToreda
2025-12-15 01:38:22 -05:00
parent bd18a171d4
commit 5acf72243d

View File

@@ -724,6 +724,7 @@ void InkHUD::MenuApplet::showPage(MenuPage page)
break;
case OPTIONS:
items.push_back(MenuItem("Back", MenuAction::BACK, MenuPage::ROOT));
// Optional: backlight
if (settings->optionalMenuItems.backlight)
items.push_back(MenuItem(backlight->isLatched() ? "Backlight Off" : "Keep Backlight On", // Label
@@ -761,17 +762,20 @@ void InkHUD::MenuApplet::showPage(MenuPage page)
break;
case APPLETS:
populateAppletPage();
populateAppletPage(); // must be first
items.insert(items.begin(), MenuItem("Back", MenuAction::BACK, MenuPage::OPTIONS));
items.push_back(MenuItem("Exit", MenuPage::EXIT));
break;
case AUTOSHOW:
populateAutoshowPage();
populateAutoshowPage(); // must be first
items.insert(items.begin(), MenuItem("Back", MenuAction::BACK, MenuPage::OPTIONS));
items.push_back(MenuItem("Exit", MenuPage::EXIT));
break;
case RECENTS:
populateRecentsPage();
populateRecentsPage(); // builds only the options
items.insert(items.begin(), MenuItem("Back", MenuAction::BACK, MenuPage::OPTIONS));
break;
case NODE_CONFIG: