fix: remove label prefix from keyboard preview for visual consistency

All three keyboard instances (Settings, QuickMsg, Bot) now show plain
text + cursor without any field-name prefix. Removes the label field
from KeyboardWidget entirely — the screen title already indicates context.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Jakub
2026-05-13 21:09:47 +02:00
co-authored by Claude Sonnet 4.6
parent 5fecafd4f9
commit 464f5cd7a2
3 changed files with 6 additions and 15 deletions
+1 -5
View File
@@ -164,21 +164,17 @@ public:
_kb_field = _sel;
const char* initial;
int max;
const char* lbl;
if (_sel == 2) {
initial = _prefs->bot_trigger;
max = sizeof(_prefs->bot_trigger) - 1;
lbl = "Trigger:";
} else if (_sel == 3) {
initial = _prefs->bot_reply_dm;
max = sizeof(_prefs->bot_reply_dm) - 1;
lbl = "Reply:";
} else {
initial = _prefs->bot_reply_ch;
max = sizeof(_prefs->bot_reply_ch) - 1;
lbl = "Reply:";
}
_kb.begin(initial, max, lbl);
_kb.begin(initial, max);
return true;
}
return false;