mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-11-01 10:21:59 +00:00
fix(l2): Messages - "Read all" an icon, the title squeezed to "Me..." beside it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -172,7 +172,8 @@ void UITask::buildChats() {
|
||||
lv_obj_t* body = newScreen("Messages", true);
|
||||
s_chats_read_all = unreadTotal() > 0;
|
||||
if (_header) { // a new message last, at the edge, whatever the lists below hold
|
||||
if (s_chats_read_all) headerButton(_header, LV_SYMBOL_OK " Read all", onMarkAllRead, 0, NULL);
|
||||
// Icons alone: with "Read all" spelled out the title was squeezed to "Me..."
|
||||
if (s_chats_read_all) headerButton(_header, LV_SYMBOL_OK, onMarkAllRead, 0, NULL);
|
||||
stylePrimary(headerButton(_header, LV_SYMBOL_EDIT, onNewChat, 0, NULL)); // the pencil alone: the title fits
|
||||
}
|
||||
vlist::attach(body);
|
||||
|
||||
Reference in New Issue
Block a user