From 4161951d19897f0b304a7a40075e46f734e05a9d Mon Sep 17 00:00:00 2001 From: Jakub <106778416+MarekZegare4@users.noreply.github.com> Date: Wed, 20 May 2026 09:36:27 +0200 Subject: [PATCH] fix: force immediate redraw after font switch in applyFont() Without _next_refresh = 0 the Settings screen would continue using its 2-second refresh interval after a font change, showing stale rendering for up to 2 seconds. Mirrors the pattern used by setBrightnessLevel(). Co-Authored-By: Claude Sonnet 4.6 --- examples/companion_radio/ui-new/UITask.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/companion_radio/ui-new/UITask.cpp b/examples/companion_radio/ui-new/UITask.cpp index c2a59b27..ecf78738 100644 --- a/examples/companion_radio/ui-new/UITask.cpp +++ b/examples/companion_radio/ui-new/UITask.cpp @@ -1561,6 +1561,7 @@ void UITask::applyBrightness() { void UITask::applyFont() { if (_display != NULL && _node_prefs != NULL) { _display->setLemonFont(_node_prefs->use_lemon_font != 0); + _next_refresh = 0; } }