mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-11-02 10:51:57 +00:00
fix(ui-new): one '#' on a hashtag channel's favourite tile and slot list
Hashtag channel names already start with '#'; the tiles added another
("##test"). chanctl::bareName() is now the one place that strips it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -721,7 +721,7 @@ class MessagesScreen : public UIScreen {
|
||||
ChannelDetails ch;
|
||||
if (the_mesh.getChannel(pfx[0], ch) && ch.name[0]) {
|
||||
nm[0] = '#';
|
||||
DisplayDriver::translateUTF8Static(nm + 1, ch.name, sizeof(nm) - 1);
|
||||
DisplayDriver::translateUTF8Static(nm + 1, chanctl::bareName(ch.name), sizeof(nm) - 1);
|
||||
}
|
||||
} else {
|
||||
for (int idx = 0; ; idx++) {
|
||||
|
||||
Reference in New Issue
Block a user