From 11ca208ec2ffb31ac94b8d359d11f7249d8800b0 Mon Sep 17 00:00:00 2001 From: jpirnay Date: Thu, 12 Mar 2026 00:36:34 +0100 Subject: [PATCH] chore: change label while on settings tab actions (#1325) ## Summary * **What is the goal of this PR?** The "Toggle" label while on the "tab" actions of settings screen was misleading. Will show "Select" now , while "Toggle" remains in place for all 'real' settings * **What changes are included?** ## Additional Context 1 2 --- ### AI Usage While CrossPoint doesn't have restrictions on AI tools in contributing, please be transparent about their usage as it helps set the right context for reviewers. Did you use AI tools to help write this code? _**NO **_ --- src/activities/settings/SettingsActivity.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/activities/settings/SettingsActivity.cpp b/src/activities/settings/SettingsActivity.cpp index 85e866e2..e5824a89 100644 --- a/src/activities/settings/SettingsActivity.cpp +++ b/src/activities/settings/SettingsActivity.cpp @@ -248,7 +248,10 @@ void SettingsActivity::render(RenderLock&&) { true); // Draw help text - const auto labels = mappedInput.mapLabels(tr(STR_BACK), tr(STR_TOGGLE), 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