Parse own short name in LogoApplet (#6913)

This commit is contained in:
todd-herbert 2025-05-29 23:21:09 +12:00 committed by GitHub
parent 42a80d8aed
commit 5195815df0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -111,9 +111,10 @@ void InkHUD::LogoApplet::onShutdown()
// Prepare for the powered-off screen now
// We can change these values because the initial "shutting down" screen has already rendered at this point
meshtastic_NodeInfoLite *ourNode = nodeDB->getMeshNode(nodeDB->getNodeNum());
textLeft = "";
textRight = "";
textTitle = owner.short_name;
textTitle = parseShortName(ourNode);
fontTitle = fontLarge;
// This is then drawn by InkHUD::Events::onShutdown, with a blocking FULL update, after InkHUD's flash write is complete