mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-07-26 14:58:12 +00:00
fix(ui): remove space in hibernate hint formatting
This commit is contained in:
@@ -762,7 +762,7 @@ public:
|
||||
const int lh1 = display.getLineHeight();
|
||||
if (text_y + lh1 <= display.height()) {
|
||||
char hib_hint[32];
|
||||
snprintf(hib_hint, sizeof(hib_hint), "hibernate: %s", PRESS_LABEL);
|
||||
snprintf(hib_hint, sizeof(hib_hint), "hibernate:%s", PRESS_LABEL);
|
||||
if (display.getTextWidth(hib_hint) < display.width()) {
|
||||
display.drawTextCentered(display.width() / 2, text_y, hib_hint);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user