Merge branch 'port/1325-settings-label' into mod/master
This commit is contained in:
@@ -297,7 +297,10 @@ void SettingsActivity::render(RenderLock&&) {
|
|||||||
true);
|
true);
|
||||||
|
|
||||||
// Draw help text
|
// 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);
|
GUI.drawButtonHints(renderer, labels.btn1, labels.btn2, labels.btn3, labels.btn4);
|
||||||
|
|
||||||
// Always use standard refresh for settings screen
|
// Always use standard refresh for settings screen
|
||||||
|
|||||||
Reference in New Issue
Block a user