fix(chat): remove reply wording from send entry

This commit is contained in:
liu weikai
2026-06-15 22:35:44 +08:00
parent 3eba0309b0
commit 69f5cab7cf
4 changed files with 8 additions and 7 deletions
@@ -299,8 +299,8 @@ ChatConversationScreen::ChatConversationScreen(lv_obj_t* parent, chat::Conversat
chat::ui::conversation::styles::apply_action_bar(action_bar_);
chat::ui::conversation::styles::apply_reply_btn(reply_btn_);
// Reply label text + style
::ui::i18n::set_label_text(w.reply_label, "Reply");
// Primary compose entry label.
::ui::i18n::set_label_text(w.reply_label, "Send");
chat::ui::conversation::styles::apply_reply_label(w.reply_label);
::ui::fonts::apply_localized_font(w.reply_label, lv_label_get_text(w.reply_label), ::ui::fonts::ui_chrome_font());
@@ -24,7 +24,7 @@
* | |
* | Action Bar (fixed height = 30, non-scrollable) |
* | +------------------------------------------------------------+ |
* | | [ Reply ] | |
* | | [ Send ] | |
* | +------------------------------------------------------------+ |
* +----------------------------------------------------------------+
*
@@ -34,7 +34,7 @@
* - MsgList(COL, scroll V, grow=1)
* - MsgRow*(repeat, ROW, full)
* - Bubble(COL, content) -> TextLabel(WRAP)
* - ActionBar(ROW, fixed=30) -> ReplyBtn -> ReplyLabel
* - ActionBar(ROW, fixed=30) -> ComposeBtn -> ComposeLabel
*
* Notes:
* - Structure/layout only: create objects, set size/flex/align/flags.
@@ -88,7 +88,7 @@ ConversationWidgets create_conversation_base(lv_obj_t* parent)
LV_FLEX_ALIGN_CENTER);
make_non_scrollable(w.action_bar);
// Reply button
// Primary compose button
w.reply_btn = lv_btn_create(w.action_bar);
lv_obj_set_size(w.reply_btn,
profile.dense ? 92 : 120,