mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-14 06:42:34 +00:00
Fix short name displays
This commit is contained in:
@@ -1720,7 +1720,7 @@ void CannedMessageModule::drawDestinationSelectionScreen(OLEDDisplay *display, O
|
||||
}
|
||||
if (node) {
|
||||
if (display->getWidth() <= 64) {
|
||||
snprintf(node->user.short_name, sizeof(node->user.short_name), "%s", node->user.short_name);
|
||||
snprintf(entryText, sizeof(entryText), "%s", node->user.short_name);
|
||||
} else {
|
||||
snprintf(entryText, sizeof(entryText), "%s", entryText);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user