mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-08-04 11:16:13 +00:00
fix: reverse fullscreen message nav order and remove channel # prefix
- Swap left/right navigation in fullscreen view: left=newer, right=older - Update arrow indicators to match new direction - Remove # prefix from channel name in message and compose view titles Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
1fcad7776a
commit
c86e6c803e
@@ -65,11 +65,11 @@ struct FullscreenMsgView {
|
|||||||
display.setCursor(display.width() - 6, FS_START_Y + (FS_VISIBLE - 1) * FS_LINE_H);
|
display.setCursor(display.width() - 6, FS_START_Y + (FS_VISIBLE - 1) * FS_LINE_H);
|
||||||
display.print("v");
|
display.print("v");
|
||||||
}
|
}
|
||||||
if (has_prev) {
|
if (has_next) {
|
||||||
display.setCursor(0, 56);
|
display.setCursor(0, 56);
|
||||||
display.print("<");
|
display.print("<");
|
||||||
}
|
}
|
||||||
if (has_next) {
|
if (has_prev) {
|
||||||
display.setCursor(display.width() - 6, 56);
|
display.setCursor(display.width() - 6, 56);
|
||||||
display.print(">");
|
display.print(">");
|
||||||
}
|
}
|
||||||
@@ -79,8 +79,8 @@ struct FullscreenMsgView {
|
|||||||
Result handleInput(char c) {
|
Result handleInput(char c) {
|
||||||
if (c == KEY_UP) { if (scroll > 0) scroll--; return NONE; }
|
if (c == KEY_UP) { if (scroll > 0) scroll--; return NONE; }
|
||||||
if (c == KEY_DOWN) { scroll++; return NONE; }
|
if (c == KEY_DOWN) { scroll++; return NONE; }
|
||||||
if (c == KEY_LEFT) return PREV;
|
if (c == KEY_LEFT) return NEXT;
|
||||||
if (c == KEY_RIGHT) return NEXT;
|
if (c == KEY_RIGHT) return PREV;
|
||||||
if (c == KEY_ENTER || c == KEY_CANCEL) return CLOSE;
|
if (c == KEY_ENTER || c == KEY_CANCEL) return CLOSE;
|
||||||
return NONE;
|
return NONE;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1203,7 +1203,7 @@ public:
|
|||||||
ChannelDetails ch;
|
ChannelDetails ch;
|
||||||
the_mesh.getChannel(_sel_channel_idx, ch);
|
the_mesh.getChannel(_sel_channel_idx, ch);
|
||||||
char title[24];
|
char title[24];
|
||||||
snprintf(title, sizeof(title), "#%.21s", ch.name);
|
snprintf(title, sizeof(title), "%.23s", ch.name);
|
||||||
display.drawTextCentered(display.width()/2, 0, title);
|
display.drawTextCentered(display.width()/2, 0, title);
|
||||||
display.fillRect(0, 9, display.width(), 1);
|
display.fillRect(0, 9, display.width(), 1);
|
||||||
|
|
||||||
@@ -1289,7 +1289,7 @@ public:
|
|||||||
if (_sending_to_channel) {
|
if (_sending_to_channel) {
|
||||||
ChannelDetails ch;
|
ChannelDetails ch;
|
||||||
the_mesh.getChannel(_sel_channel_idx, ch);
|
the_mesh.getChannel(_sel_channel_idx, ch);
|
||||||
snprintf(title, sizeof(title), "#%.21s", ch.name);
|
snprintf(title, sizeof(title), "%.23s", ch.name);
|
||||||
} else {
|
} else {
|
||||||
snprintf(title, sizeof(title), "TO:%.14s", _sel_contact.name);
|
snprintf(title, sizeof(title), "TO:%.14s", _sel_contact.name);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user