Show name of next section to appear

This commit is contained in:
jpirnay
2026-03-07 10:17:07 +01:00
parent fcf9fe41f6
commit e31e5fd1f5
+4 -2
View File
@@ -243,8 +243,10 @@ void SettingsActivity::render(RenderLock&&) {
true);
// Draw help text
const StrId confirmLabel = (selectedSettingIndex == 0) ? StrId::STR_SELECT : StrId::STR_TOGGLE;
const auto labels = mappedInput.mapLabels(tr(STR_BACK), I18N.get(confirmLabel), tr(STR_DIR_UP), tr(STR_DIR_DOWN));
const auto confirmLabel = (selectedSettingIndex == 0)
? I18N.get(categoryNames[(selectedCategoryIndex + 1) % categoryCount])
: tr(STR_TOGGLE);
const auto labels = mappedInput.mapLabels(tr(STR_BACK), confirmLabel, tr(STR_DIR_UP), tr(STR_DIR_DOWN));
GUI.drawButtonHints(renderer, labels.btn1, labels.btn2, labels.btn3, labels.btn4);
// Always use standard refresh for settings screen