mirror of
https://github.com/agessaman/MeshCore.git
synced 2026-08-28 00:44:06 +00:00
fix(repeater): restore node name at top of home screen
A merge conflict resolution collapsed the `// node name` comment and its `_display->setCursor(0, 0)` call onto a single line, which commented out the cursor reset. The node name then rendered at whatever cursor position was left over from the previous frame (the end of the IP: line), so it trailed the IP address and wrapped onto the next line instead of appearing at the top of the home screen. Split the comment and setCursor back onto separate lines so the name is drawn at (0, 0) again.
This commit is contained in:
@@ -135,7 +135,8 @@ void UITask::renderCurrScreen() {
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
// node name _display->setCursor(0, 0);
|
||||
// node name
|
||||
_display->setCursor(0, 0);
|
||||
_display->setTextSize(1);
|
||||
_display->setColor(DisplayDriver::GREEN);
|
||||
_display->print(_node_prefs->node_name);
|
||||
|
||||
Reference in New Issue
Block a user