mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-08-02 18:26:11 +00:00
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:
co-authored by
Claude Sonnet 4.6
parent
5fecafd4f9
commit
464f5cd7a2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user